|
|
1.1 root 1: #ifndef __KERNEL__SLEEP_H__
2: #define __KERNEL__SLEEP_H__
3:
4: /*
5: * The following type and enumeration values should be used to test the result
6: * of a kernel-internal sleep to see what the result of the sleep was. Making
7: * this an enumeration is important for linting; the internal sleep functions
8: * should be accessed though macros so that non-signalling sleeps are cast to
9: * void properly.
10: */
11:
12: typedef enum {
13: PROCESS_NORMAL_WAKE,
14: PROCESS_SIGNALLED,
15: PROCESS_CONTINUED
16: } __sleep_t;
17:
18: #endif /* ! defined (__KERNEL__SLEEP_H__) */
19:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.