18 #ifndef _COBALT_BOILERPLATE_SIGNAL_H 19 #define _COBALT_BOILERPLATE_SIGNAL_H 21 #include <cobalt/signal.h> 24 #define __SIGRSVD(n) (SIGRTMIN + 8 + (n)) 26 #define SIGAGENT __SIGRSVD(0) 27 #define SIGPERIOD __SIGRSVD(1) 30 #define __SIGPRIV(n) __SIGRSVD(8 + (n)) 32 #define SIGSAFE_LOCK_ENTRY(__safelock) \ 34 push_cleanup_lock(__safelock); \ 35 write_lock(__safelock); 37 #define SIGSAFE_LOCK_EXIT(__safelock) \ 38 write_unlock(__safelock); \ 39 pop_cleanup_lock(&__safelock); \