#include <stddef.h>
#include <queue.h>

Go to the source code of this file.
Functions | |
| tid_typ | getfirst (qid_typ q) |
| Remove a thread from front of queue. | |
| tid_typ | getlast (qid_typ q) |
| Remove a thread from end of queue. | |
| tid_typ | getitem (tid_typ tid) |
| Remove a thread from anywhere in a queue. | |
Definition in file getitem.c.
Remove a thread from front of queue.
| q | target queue |
Definition at line 17 of file getitem.c.
References EMPTY, getitem(), quetab, and SYSERR.
Referenced by dequeue().


1.5.6