globus_thread_once (3) Linux Manual Page
One-time execution – Data Structuresunion globus_thread_once_t Thread once structure. Macros#define GLOBUS_THREAD_ONCE_INIT { .none = 0 } Thread once initializer value. Functionsint globus_thread_once (globus_thread_once_t *once, void(*init_routine)(void)) Execute a function one time. Detailed DescriptionThe globus_thread_once_t provides a way for applications and libraries to execute some code exactly one time, independent of the number of threads which attempt…
