]>
git.proxmox.com Git - mirror_spl.git/blob - include/sys/signal.h
4 #define FORREAL 0 /* Usual side-effects */
5 #define JUSTLOOKING 1 /* Don't stop the process */
7 /* The "why" argument indicates the allowable side-effects of the call:
9 * FORREAL: Extract the next pending signal from p_sig into p_cursig;
10 * stop the process if a stop has been requested or if a traced signal
13 * JUSTLOOKING: Don't stop the process, just indicate whether or not
14 * a signal might be pending (FORREAL is needed to tell for sure).
19 BUG_ON(!(why
== FORREAL
|| why
== JUSTLOOKING
));
21 return signal_pending(current
);
24 #endif /* SPL_SIGNAL_H */