RTEMS: cpukit/include/rtems/score/onceimpl.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
onceimpl.h File Reference
Internal » SuperCore » Once Functions.

Once API. More...

`#include <rtems/score/thread.h>`

Go to the source code of this file.

## Functions
int | _Once (unsigned char *once_state, void(*init_routine)(void))
| Reacts according to the state of once_state.
Thread_Life_state | _Once_Lock (void)
| Locks the Once_Information_Mutex and returns the thread life state.
void | _Once_Unlock (Thread_Life_state thread_life_state)
| Unlocks the Once_Information_Mutex and sets the thread life protection to thread_life_state.

## Detailed Description

Once API.