Rev 1062 | Rev 1666 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1062 | Rev 1658 | ||
---|---|---|---|
Line 124... | Line 124... | ||
124 | 124 | ||
125 | static void slabtest(void *priv) |
125 | static void slabtest(void *priv) |
126 | { |
126 | { |
127 | void *data=NULL, *new; |
127 | void *data=NULL, *new; |
128 | 128 | ||
- | 129 | thread_detach(THREAD); |
|
- | 130 | ||
129 | mutex_lock(&starter_mutex); |
131 | mutex_lock(&starter_mutex); |
130 | condvar_wait(&thread_starter,&starter_mutex); |
132 | condvar_wait(&thread_starter,&starter_mutex); |
131 | mutex_unlock(&starter_mutex); |
133 | mutex_unlock(&starter_mutex); |
132 | 134 | ||
133 | printf("Starting thread #%d...\n",THREAD->tid); |
135 | printf("Starting thread #%d...\n",THREAD->tid); |