Searched refs:SCHED_RESET_ON_FORK (Results 1 – 14 of 14) sorted by relevance
74 if (pol & SCHED_RESET_ON_FORK) R = "|SCHED_RESET_ON_FORK"; in chrt_main()75 if ((pol &= ~SCHED_RESET_ON_FORK)<ARRAY_LEN(polnames)) s = polnames[pol]; in chrt_main()92 if (toys.optflags&FLAG_R) pol |= SCHED_RESET_ON_FORK; in chrt_main()
82 #if defined(__linux__) && !defined(SCHED_RESET_ON_FORK)83 #define SCHED_RESET_ON_FORK 0x40000000 macro389 #ifdef SCHED_RESET_ON_FORK in set_scheduler()390 if (pthread_setschedparam(pthread_self(), SCHED_RR|SCHED_RESET_ON_FORK, &sp) == 0) { in set_scheduler()
238 #ifndef SCHED_RESET_ON_FORK239 #define SCHED_RESET_ON_FORK (1<<30) macro
35 #define SCHED_RESET_ON_FORK 0x40000000 macro
48 #define SCHED_RESET_ON_FORK 0x40000000 macro
49 #define SCHED_RESET_ON_FORK 0x40000000 macro
36 #define SCHED_RESET_ON_FORK 0x40000000 macro
44 int scheduler = sched_getscheduler(0) & ~SCHED_RESET_ON_FORK; // for current thread in checkScheduler()
15292 #ifdef SCHED_RESET_ON_FORK in all_ins()15293 if (PyModule_AddIntMacro(m, SCHED_RESET_ON_FORK)) return -1; in all_ins()
4591 .. data:: SCHED_RESET_ON_FORK