/usr/include/dpm/Csched_flags.h is in libdpm-dev 1.8.7-3.1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /*
* $Id: Csched_flags.h,v 1.1 2005/03/29 11:06:41 baud Exp $
*/
#ifndef __Csched_flags_h
#define __Csched_flags_h
#include <Cthread_flags.h>
/* ----------------------------------------------- */
/* Now that Thread Environment is loaded */
/* (<pthread.h>) we can determine if at run */
/* time we can support sort thread (very) specific */
/* functionnality. */
/* ----------------------------------------------- */
/* - First In, First Out */
#ifdef CSCHED_FIFO
#undef CSCHED_FIFO
#endif
/* - Round Robin */
#ifdef CSCHED_RR
#undef CSCHED_RR
#endif
/* - Default (other) */
#ifdef CSCHED_OTHER
#undef CSCHED_OTHER
#endif
/* - Default (new primitive or non portable) */
#ifdef CSCHED_FG_NP
#undef CSCHED_FG_NP
#endif
/* - Background */
#ifdef CSCHED_BG_NP
#undef CSCHED_BG_NP
#endif
/* - Unknown */
#ifdef CSCHED_UNKNOWN
#undef CSCHED_UNKNOWN
#endif
#define CSCHED_UNKNOWN -1
#ifdef _CTHREAD
/* Thread Environment */
/* - First In, First Out */
#ifdef SCHED_FIFO
#define CSCHED_FIFO SCHED_FIFO
#else
#define CSCHED_FIFO CSCHED_UNKNOWN
#endif
/* - Round Robin */
#ifdef SCHED_RR
#define CSCHED_RR SCHED_RR
#else
#define CSCHED_RR CSCHED_UNKNOWN
#endif
/* - Default (other) */
#ifdef SCHED_OTHER
#define CSCHED_OTHER SCHED_OTHER
#else
#define CSCHED_OTHER CSCHED_UNKNOWN
#endif
/* - Default (new primitive or non portable) */
#ifdef SCHED_FG_NP
#define CSCHED_FG_NP SCHED_FG_NP
#else
#define CSCHED_FG_NP CSCHED_UNKNOWN
#endif
/* - Background */
#ifdef SCHED_BG_NP
#define CSCHED_BG_NP SCHED_BG_NP
#else
#define CSCHED_BG_NP CSCHED_UNKNOWN
#endif
#else /* _CTHREAD */
/* Not a Thread Environment */
/* - First In, First Out */
#define CSCHED_FIFO CSCHED_UNKNOWN
/* - Round Robin */
#define CSCHED_RR CSCHED_UNKNOWN
/* - Default (other) */
#define CSCHED_OTHER CSCHED_UNKNOWN
/* - Default (new primitive or non portable) */
#define CSCHED_FG_NP CSCHED_UNKNOWN
/* - Background */
#define CSCHED_BG_NP CSCHED_UNKNOWN
#endif /* _CTHREAD */
/* Force the standard definition of scheduling parameter structure */
/* This also ensures that programs interfaced with Cthread will compile */
/* on non-MT environments */
struct Csched_param {
int sched_priority;
};
typedef struct Csched_param Csched_param_t;
#endif /* __cthread_flags_h */
|