/trunk/kernel/test/synch/rwlock4/test.c |
---|
128,9 → 128,7 |
waitq_initialize(&can_start); |
rwlock_initialize(&rwlock); |
for (; ;) { |
for (;;) { |
thread_t *thrd; |
context_save(&ctx); |
/trunk/kernel/test/thread/thread1/test.c |
---|
44,13 → 44,8 |
thread_detach(THREAD); |
while(1) |
{ |
while (1) |
; |
while (1) |
printf("%d\n",(int)(THREAD->tid)); |
scheduler(); |
} |
} |
void test(void) |