2 #ifndef __MONO_ONCE_H__
3 #define __MONO_ONCE_H__
5 #include "mono-lazy-init.h"
7 typedef mono_lazy_init_t mono_once_t
;
9 #define MONO_ONCE_INIT MONO_LAZY_INIT_STATUS_NOT_INITIALIZED
12 mono_once (mono_once_t
*once
, void (*once_init
) (void))
14 mono_lazy_initialize (once
, once_init
);
17 #endif /* __MONO_ONCE_H__ */