Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1102 → Rev 1103

/kernel/trunk/generic/src/proc/thread.c
85,8 → 85,6
void *arg = THREAD->thread_arg;
 
/* this is where each thread wakes up after its creation */
before_thread_runs();
 
spinlock_unlock(&THREAD->lock);
interrupts_enable();
 
437,7 → 435,7
{
thread_t *t;
char namebuf[THREAD_NAME_BUFLEN];
uspace_arg_t *kernel_uarg; /* TODO: store kernel_uarg in thread_t */
uspace_arg_t *kernel_uarg;
__u32 tid;
 
copy_from_uspace(namebuf, uspace_name, THREAD_NAME_BUFLEN);
/kernel/trunk/generic/src/synch/waitq.c
190,7 → 190,6
/*
* Short emulation of scheduler() return code.
*/
before_thread_runs();
spinlock_unlock(&THREAD->lock);
interrupts_restore(ipl);
return ESYNCH_TIMEOUT;