XenevaOS
Loading...
Searching...
No Matches
signal.h
Go to the documentation of this file.
1#ifndef __LINUX_SCHED_SIGNAL_H__
2#define __LINUX_SCHED_SIGNAL_H__
3
4/*
5 * DCL <linux/sched/signal.h> -- the signal half of <linux/sched.h>, which is
6 * what mainline splits out here.
7 *
8 * serial_core.c names two things through it: signal_pending(current) at :1238
9 * (inside uart_wait_until_sent, polling for the transmitter to drain) and
10 * again at :1802. Both are the "did the reader go away while we waited"
11 * test, and both get DCL's answer -- always 0, because Xeneva has no signal
12 * delivery (see the definition in <linux/sched.h> for why that is a statement
13 * about the process model rather than a stub).
14 *
15 * So this header is a re-export, not a re-implementation: including sched.h
16 * is exactly what mainline's file does with its own contents, and defining
17 * signal_pending here instead would risk the *two* definitions that
18 * <linux/sched.h>'s `#ifndef signal_pending` guard exists to prevent.
19 */
20
21#include <linux/sched.h>
22
23#endif /* __LINUX_SCHED_SIGNAL_H__ */