#include <kernel.h>
#include <proc.h>
#include <stdio.h>
Go to the source code of this file.
Defines | |
#define | TIMES 5 |
Functions | |
void | testPass (const char *) |
void | testFail (const char *) |
static void | bigargs (uchar a, uchar b, uchar c, uchar d, uchar e, uchar f, uchar *testArray) |
static void | t4 (int times, uchar *testArray, int *shared) |
int | test_bigargs (int argc, char **argv) |
int | test_schedule (int argc, char **argv) |
#define TIMES 5 |
static void t4 | ( | int | times, | |
uchar * | testArray, | |||
int * | shared | |||
) | [static] |
int test_bigargs | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 37 of file test-hw4.c.
References bigargs(), create(), INITSTK, OK, printf, ready(), RESCHED_YES, testFail(), and testPass().
Referenced by testItem().
int test_schedule | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 61 of file test-hw4.c.
References create(), FALSE, INITSTK, OK, printf, ready(), resched(), t4, testFail(), testPass(), TIMES, 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.