signal.h

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