NAME
A member of omni::chrono::timer_sync_type::enum_t
omni::chrono::timer_sync_type::enum_t::ASYNCHRONOUS
A member of omni::chrono::timer_sync_type::enum_t
#include <omni/types/timer_t.hpp>omni::chrono::timer_sync_type::enum_t::ASYNCHRONOUS
SYNOPSIS
When the timer interval passes, the interval counter is reset and a separate thread is spawned and detached in which the tick event will be fired. Care should be taken for any attached delegates since the event fires in a separate thread, if a function takes longer than the interval, a tick can happen and thus the function can be called while still executing; as such, any functions should be re-entrant or thread safe.
top
When the timer interval passes, the interval counter is reset and a separate thread is spawned and detached in which the tick event will be fired. Care should be taken for any attached delegates since the event fires in a separate thread, if a function takes longer than the interval, a tick can happen and thus the function can be called while still executing; as such, any functions should be re-entrant or thread safe.
top