![]() |
![]() |
![]() |
![]() |
Ensure that database time values increase monotonically
#include <mme/mme.h> int mme_timebase_set( mme_hdl_t *hdl );
mme
The function mme_timebase_set() ensures that the database time values increase monotonically. This function should be used to ensure correct database time values on systems that do not have a real-time clock implemented, or if the system time is adjusted backwards.
As an alternative to running mme_timebase_set(), if this function is needed for every MME startup, consider enabling the <TimebaseSet> option in the MME configuration file. Setting this option runs the same function as a call to mme_timebase_set(). It is exactly equivalent to calling mme_timebase_set() at every startup. See “Database time base” in the MME Configuration Guide chapter Configuring Database Behavior.
None returned
This function performs no validations and does not block.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
“Database configuration elements” in the MME Configuration Guide chapter Configuring Database Behavior.
![]() |
![]() |
![]() |
![]() |