I would appreciate any donations. Wishlist or send e-mail type donations to maekawa AT daemon-systems.org.

Thank you.


SUSPENDSCHED(9)            Kernel Developer's Manual           SUSPENDSCHED(9)

NAME
     suspendsched -- suspend the scheduler

SYNOPSIS
     #include <sys/proc.h>
     #include <sys/sched.h>

     void
     suspendsched(void);

DESCRIPTION
     The suspendsched() 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.

NetBSD 7.1.2                  September 21, 2002                  NetBSD 7.1.2