RTEMS 6.3
Loading...
Searching...
No Matches
once.c File Reference

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.

Detailed Description

This source file contains the implementation of _Once(), _Once_Lock(), and _Once_Unlock().