File:  [MW Coherent from dump] / coherent / f / usr / include / kernel / _sleep.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

#ifndef	__KERNEL__SLEEP_H__
#define	__KERNEL__SLEEP_H__

/*
 * The following type and enumeration values should be used to test the result
 * of a kernel-internal sleep to see what the result of the sleep was. Making
 * this an enumeration is important for linting; the internal sleep functions
 * should be accessed though macros so that non-signalling sleeps are cast to
 * void properly.
 */

typedef enum {
	PROCESS_NORMAL_WAKE,
	PROCESS_SIGNALLED,
	PROCESS_CONTINUED
} __sleep_t;

#endif	/* ! defined (__KERNEL__SLEEP_H__) */


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.