Home | History | Annotate | Download | only in posix_spawn

Lines Matching defs:scheduler

76 get_different_priority(int scheduler)
81 /* Get the priority range for the new scheduler */
82 RL(max = sched_get_priority_max(scheduler));
83 RL(min = sched_get_priority_min(scheduler));
94 printf("min %d max %d for scheduler %d, returning %d\n",
95 min, max, scheduler, new);
104 "Tests posix_spawn with scheduler attributes");
108 int pid, scheduler, child_scheduler, priority, status, pfd[2];
124 scheduler = get_different_scheduler();
125 priority = get_different_priority(scheduler);
127 printf("using scheduler %d, priority %d\n", scheduler, priority);
138 RZ(posix_spawnattr_setschedpolicy(&attr, scheduler));
148 ATF_REQUIRE_MSG(scheduler == child_scheduler,
149 "scheduler = %d, child_scheduler = %d, pid %d, errno %d",
150 scheduler, child_scheduler, pid, errno);