#include <kernel.h>
#include <proc.h>
#include <queue.h>
#include <semaphore.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
void | testPass (const char *) |
void | testFail (const char *) |
int | test_procQueue (int argc, char **argv) |
int test_procQueue | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 10 of file test-pqueue.c.
References create(), dequeue(), EMPTY, FALSE, firstkey, freesem(), INITSTK, insert(), isbadsem, kill(), newsem(), NULL, OK, printf, sentry::queue, semtab, sprintf(), SYSERR, testFail(), testPass(), and TRUE.
Referenced by testItem().
void testFail | ( | const char * | ) |
Definition at line 11 of file testhelper.c.
void testPass | ( | const char * | ) |
Definition at line 6 of file testhelper.c.