NAME
suspendsched
—
suspend the scheduler
SYNOPSIS
#include
<sys/proc.h>
#include <sys/sched.h>
void
suspendsched
(void);
DESCRIPTION
Thesuspendsched
()
function suspends the operation of the scheduler by stopping all non-system
processes which are on the run queue or the sleep queue.
The
suspendsched
()
function must not be called with the scheduler lock held.