Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2022 → Rev 1787

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