![]() |
RTEMS 6.1
|
This source file contains the implementation of _Once(), _Once_Lock(), and _Once_Unlock(). More...
Data Structures | |
| struct | Once_Control |
Macros | |
| #define | ONCE_STATE_INIT 0 |
| #define | ONCE_STATE_RUNNING 1 |
| #define | ONCE_STATE_COMPLETE 2 |
Functions | |
| int | _Once (unsigned char *once_state, void(*init_routine)(void)) |
| Reacts according to the state of once_state. | |
This source file contains the implementation of _Once(), _Once_Lock(), and _Once_Unlock().