/kernel/trunk/test/synch/rwlock4/test.c |
---|
73,6 → 73,7 |
void writer(void *arg) |
{ |
int rc, to; |
thread_detach(THREAD); |
waitq_sleep(&can_start); |
to = random(40000); |
95,6 → 96,7 |
void reader(void *arg) |
{ |
int rc, to; |
thread_detach(THREAD); |
waitq_sleep(&can_start); |
to = random(2000); |