signal.h

Go to the documentation of this file.
00001 
00042 #ifndef KERN_SIGNAL_H
00043 #define KERN_SIGNAL_H
00044 
00045 #include <cfg/compiler.h>
00046 
00047 
00048 /* Fwd decl */
00049 struct Process;
00050 
00051 /* Inter-process Communication services */
00052 sigmask_t sig_check(sigmask_t sigs);
00053 void sig_signal(struct Process *proc, sigmask_t sig);
00054 sigmask_t sig_wait(sigmask_t sigs);
00055 sigmask_t sig_waitTimeout(sigmask_t sigs, ticks_t timeout);
00056 
00057 
00062 #define SIG_USER0    BV(0)  
00063 #define SIG_USER1    BV(1)  
00064 #define SIG_USER2    BV(2)  
00065 #define SIG_USER3    BV(3)  
00066 #define SIG_TIMEOUT  BV(4)  
00067 #define SIG_SYSTEM5  BV(5)  
00068 #define SIG_SYSTEM6  BV(6)  
00069 #define SIG_SINGLE   BV(7)  
00070 /*\}*/
00071 
00072 #endif /* KERN_SIGNAL_H */