Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bits
File: sched.h
/* Definitions of constants and data structure for POSIX 1003.1b-1993
[0] Fix | Delete
scheduling interface.
[1] Fix | Delete
Copyright (C) 1996-2018 Free Software Foundation, Inc.
[2] Fix | Delete
This file is part of the GNU C Library.
[3] Fix | Delete
[4] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[5] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[6] Fix | Delete
License as published by the Free Software Foundation; either
[7] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[8] Fix | Delete
[9] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[10] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[11] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[12] Fix | Delete
Lesser General Public License for more details.
[13] Fix | Delete
[14] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[15] Fix | Delete
License along with the GNU C Library; if not, see
[16] Fix | Delete
<http://www.gnu.org/licenses/>. */
[17] Fix | Delete
[18] Fix | Delete
#ifndef _BITS_SCHED_H
[19] Fix | Delete
#define _BITS_SCHED_H 1
[20] Fix | Delete
[21] Fix | Delete
#ifndef _SCHED_H
[22] Fix | Delete
# error "Never include <bits/sched.h> directly; use <sched.h> instead."
[23] Fix | Delete
#endif
[24] Fix | Delete
[25] Fix | Delete
/* Scheduling algorithms. */
[26] Fix | Delete
#define SCHED_OTHER 0
[27] Fix | Delete
#define SCHED_FIFO 1
[28] Fix | Delete
#define SCHED_RR 2
[29] Fix | Delete
#ifdef __USE_GNU
[30] Fix | Delete
# define SCHED_BATCH 3
[31] Fix | Delete
# define SCHED_ISO 4
[32] Fix | Delete
# define SCHED_IDLE 5
[33] Fix | Delete
# define SCHED_DEADLINE 6
[34] Fix | Delete
[35] Fix | Delete
# define SCHED_RESET_ON_FORK 0x40000000
[36] Fix | Delete
#endif
[37] Fix | Delete
[38] Fix | Delete
#ifdef __USE_GNU
[39] Fix | Delete
/* Cloning flags. */
[40] Fix | Delete
# define CSIGNAL 0x000000ff /* Signal mask to be sent at exit. */
[41] Fix | Delete
# define CLONE_VM 0x00000100 /* Set if VM shared between processes. */
[42] Fix | Delete
# define CLONE_FS 0x00000200 /* Set if fs info shared between processes. */
[43] Fix | Delete
# define CLONE_FILES 0x00000400 /* Set if open files shared between processes. */
[44] Fix | Delete
# define CLONE_SIGHAND 0x00000800 /* Set if signal handlers shared. */
[45] Fix | Delete
# define CLONE_PTRACE 0x00002000 /* Set if tracing continues on the child. */
[46] Fix | Delete
# define CLONE_VFORK 0x00004000 /* Set if the parent wants the child to
[47] Fix | Delete
wake it up on mm_release. */
[48] Fix | Delete
# define CLONE_PARENT 0x00008000 /* Set if we want to have the same
[49] Fix | Delete
parent as the cloner. */
[50] Fix | Delete
# define CLONE_THREAD 0x00010000 /* Set to add to same thread group. */
[51] Fix | Delete
# define CLONE_NEWNS 0x00020000 /* Set to create new namespace. */
[52] Fix | Delete
# define CLONE_SYSVSEM 0x00040000 /* Set to shared SVID SEM_UNDO semantics. */
[53] Fix | Delete
# define CLONE_SETTLS 0x00080000 /* Set TLS info. */
[54] Fix | Delete
# define CLONE_PARENT_SETTID 0x00100000 /* Store TID in userlevel buffer
[55] Fix | Delete
before MM copy. */
[56] Fix | Delete
# define CLONE_CHILD_CLEARTID 0x00200000 /* Register exit futex and memory
[57] Fix | Delete
location to clear. */
[58] Fix | Delete
# define CLONE_DETACHED 0x00400000 /* Create clone detached. */
[59] Fix | Delete
# define CLONE_UNTRACED 0x00800000 /* Set if the tracing process can't
[60] Fix | Delete
force CLONE_PTRACE on this clone. */
[61] Fix | Delete
# define CLONE_CHILD_SETTID 0x01000000 /* Store TID in userlevel buffer in
[62] Fix | Delete
the child. */
[63] Fix | Delete
# define CLONE_NEWCGROUP 0x02000000 /* New cgroup namespace. */
[64] Fix | Delete
# define CLONE_NEWUTS 0x04000000 /* New utsname group. */
[65] Fix | Delete
# define CLONE_NEWIPC 0x08000000 /* New ipcs. */
[66] Fix | Delete
# define CLONE_NEWUSER 0x10000000 /* New user namespace. */
[67] Fix | Delete
# define CLONE_NEWPID 0x20000000 /* New pid namespace. */
[68] Fix | Delete
# define CLONE_NEWNET 0x40000000 /* New network namespace. */
[69] Fix | Delete
# define CLONE_IO 0x80000000 /* Clone I/O context. */
[70] Fix | Delete
#endif
[71] Fix | Delete
[72] Fix | Delete
#include <bits/types/struct_sched_param.h>
[73] Fix | Delete
[74] Fix | Delete
__BEGIN_DECLS
[75] Fix | Delete
[76] Fix | Delete
#ifdef __USE_GNU
[77] Fix | Delete
/* Clone current process. */
[78] Fix | Delete
extern int clone (int (*__fn) (void *__arg), void *__child_stack,
[79] Fix | Delete
int __flags, void *__arg, ...) __THROW;
[80] Fix | Delete
[81] Fix | Delete
/* Unshare the specified resources. */
[82] Fix | Delete
extern int unshare (int __flags) __THROW;
[83] Fix | Delete
[84] Fix | Delete
/* Get index of currently used CPU. */
[85] Fix | Delete
extern int sched_getcpu (void) __THROW;
[86] Fix | Delete
[87] Fix | Delete
/* Switch process to namespace of type NSTYPE indicated by FD. */
[88] Fix | Delete
extern int setns (int __fd, int __nstype) __THROW;
[89] Fix | Delete
#endif
[90] Fix | Delete
[91] Fix | Delete
__END_DECLS
[92] Fix | Delete
[93] Fix | Delete
#endif /* bits/sched.h */
[94] Fix | Delete
[95] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function