/trunk/kernel/test/synch/rwlock2.c/test.c |
---|
42,7 → 42,7 |
static void writer(void *arg); |
static void failed(void); |
void writer(void *arg) |
static void writer(void *arg) |
{ |
thread_detach(THREAD); |
58,13 → 58,13 |
printf("Test passed.\n"); |
} |
void failed() |
static void failed() |
{ |
printf("Test failed prematurely.\n"); |
thread_exit(); |
} |
void test(void) |
void test_rwlock2(void) |
{ |
thread_t *thrd; |