timer_is_proxy (t_or_nil);
This function controls how timers are fundamentally handled within Gamma. By default, timers are handled by the processing of proxies which allows Gamma to delay the timer, if necessary, if a critical system process is occurring.
Calling timer_is_proxy with nil makes all timers operate by using signals. In the QNX 4 operating system SIGUSER1 (SIGALRM?) is used, and the attach code is run as a handled signal.
Running timers via signals has some very dramatic consequences. When running in this mode ALL TIMER CODE MUST BE SIGNAL SAFE. |
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.