/kernel/trunk/test/mm/falloc2/test.c |
---|
57,6 → 57,8 |
__address * frames = (__address *) malloc(MAX_FRAMES * sizeof(__address), FRAME_ATOMIC); |
ASSERT(frames != NULL); |
thread_detach(THREAD); |
for (run = 0; run < THREAD_RUNS; run++) { |
for (order = 0; order <= MAX_ORDER; order++) { |
/kernel/trunk/test/mm/slab1/test.c |
---|
112,7 → 112,9 |
{ |
int offs = (int)(__native) data; |
int i,j; |
thread_detach(THREAD); |
printf("Starting thread #%d...\n",THREAD->tid); |
for (j=0; j<10; j++) { |
for (i=0; i<THR_MEM_COUNT; i++) |
/kernel/trunk/test/mm/slab2/test.c |
---|
126,6 → 126,8 |
{ |
void *data=NULL, *new; |
thread_detach(THREAD); |
mutex_lock(&starter_mutex); |
condvar_wait(&thread_starter,&starter_mutex); |
mutex_unlock(&starter_mutex); |