📄 sched.h
字号:
/* * Written by Joel Sherrill <joel@OARcorp.com>. * * COPYRIGHT (c) 1989-2000. * On-Line Applications Research Corporation (OAR). * * Permission to use, copy, modify, and distribute this software for any * purpose without fee is hereby granted, provided that this entire notice * is included in all copies of any software which is or includes a copy * or modification of this software. * * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. * * $Id: sched.h,v 1.1.1.1 2003/08/19 22:29:44 craigv Exp $ */#ifndef __POSIX_SYS_SCHEDULING_h#define __POSIX_SYS_SCHEDULING_h#ifdef __cplusplusextern "C" {#endif#include <sys/unistd.h>#include <sys/types.h>#include <sys/time.h>/* Scheduling Policies, P1003.1b-1993, p. 250 NOTE: SCHED_SPORADIC added by P1003.4b/D8, p. 34. *//* Thread scheduling policies */enum { SCHED_OTHER = 0, SCHED_FIFO, SCHED_RR, SCHED_MIN = SCHED_OTHER, SCHED_MAX = SCHED_RR};struct sched_param { int sched_priority;};#ifdef __cplusplus}#endif #endif/* end of include file */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -