#include <kernel.h>#include <proc.h>#include <queue.h>

Go to the source code of this file.
Functions | |
| syscall | ready (long pid, bool resch) |
Definition in file ready.c.
| syscall ready | ( | long | pid, | |
| bool | resch | |||
| ) |
Make a process eligible for CPU service.
| pid | process id of the process to move to the ready state | |
| resch | if TRUE, reschedule will be called |
Definition at line 19 of file ready.c.
References ASSERT, insert(), isbadpid, OK, pentry::prio, proctab, PRREADY, readylist, resched(), and pentry::state.
Referenced by freesem(), main(), nulluser(), send(), shell(), signal(), signaln(), test_bigargs(), test_recursion(), test_schedule(), test_semaphore(), test_semaphore2(), test_semaphore3(), test_semaphore4(), testItem(), and wakeup().
1.5.5