|
ObjFW
|
Go to the source code of this file.
Functions | |
| void | OFOnce (OFOnceControl *control, OFOnceFunction function) |
| Executes the specified function exactly once in the application's lifetime, even in a multi-threaded environment. | |
|
extern |
Executes the specified function exactly once in the application's lifetime, even in a multi-threaded environment.
| control | An OFOnceControl. This should be a static variable preinitialized to OFOnceControlInitValue. |
| function | The function to execute once |