1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef SERIALIZE_LOCK_H #define SERIALIZE_LOCK_H #include <stdint.h> #ifdef __cplusplus extern "C" { #endif int serialize_lock(int no_wait); void serialize_unlock(void); #ifdef __cplusplus } /* extern "C"*/ #endif #endif /*SERIALIZE_LOCK_H*/