Subversion Repositories HelenOS-historic

Compare Revisions

Regard whitespace Rev 821 → Rev 822

/kernel/trunk/generic/src/proc/thread.c
226,10 → 226,9
thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags)
{
thread_t *t;
ipl_t ipl;
 
t = (thread_t *) slab_alloc(thread_slab, 0);
if (t) {
ipl_t ipl;
/* Not needed, but good for debugging */
memsetb((__address)t->kstack, THREAD_STACK_SIZE, 0);
286,7 → 285,6
spinlock_unlock(&task->lock);
 
interrupts_restore(ipl);
}
 
return t;
}