/*#*
*#* $Log$
+ *#* Revision 1.12 2004/12/08 08:57:35 bernie
+ *#* Rename sigset_t to sigmask_t.
+ *#*
*#* Revision 1.11 2004/11/16 22:37:14 bernie
*#* Replace IPTR with iptr_t.
*#*
iptr_t user_data; /*!< Custom data passed to the process */
#if CONFIG_KERN_SIGNALS
- sigset_t sig_wait; /*!< Signals the process is waiting for */
- sigset_t sig_recv; /*!< Received signals */
+ sigmask_t sig_wait; /*!< Signals the process is waiting for */
+ sigmask_t sig_recv; /*!< Received signals */
#endif
#if CONFIG_KERN_PREEMPTIVE
/*#*
*#* $Log$
+ *#* Revision 1.9 2004/12/08 08:57:35 bernie
+ *#* Rename sigset_t to sigmask_t.
+ *#*
*#* Revision 1.8 2004/09/14 21:06:44 bernie
*#* Use debug.h instead of kdebug.h.
*#*
* Check if any of the signals in \a sigs has occurred and clear them.
* Return the signals that have occurred.
*/
-sigset_t sig_check(sigset_t sigs)
+sigmask_t sig_check(sigmask_t sigs)
{
- sigset_t result;
+ sigmask_t result;
cpuflags_t flags;
DISABLE_IRQSAVE(flags);
* Sleep until any of the signals in \a sigs occurs.
* Return the signal(s) that have awaked the process.
*/
-sigset_t sig_wait(sigset_t sigs)
+sigmask_t sig_wait(sigmask_t sigs)
{
- sigset_t result;
+ sigmask_t result;
cpuflags_t flags;
DISABLE_IRQSAVE(flags);
*
* \note This call is interrupt safe.
*/
-void sig_signal(Process *proc, sigset_t sigs)
+void sig_signal(Process *proc, sigmask_t sigs)
{
cpuflags_t flags;
DISABLE_IRQSAVE(flags);
/*#*
*#* $Log$
+ *#* Revision 1.5 2004/12/08 08:57:35 bernie
+ *#* Rename sigset_t to sigmask_t.
+ *#*
*#* Revision 1.4 2004/08/25 14:12:09 rasky
*#* Aggiornato il comment block dei log RCS
*#*
struct Process;
/* Inter-process Communication services */
-sigset_t sig_check(sigset_t sigs);
-void sig_signal(struct Process *proc, sigset_t sig);
-sigset_t sig_wait(sigset_t sigs);
+sigmask_t sig_check(sigmask_t sigs);
+void sig_signal(struct Process *proc, sigmask_t sig);
+sigmask_t sig_wait(sigmask_t sigs);
/*!
* \name Signal definitions
- *
* \{
*/
#define SIG_USER0 BV(0) /*!< Free for user usage */