Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1157 → Rev 1158

/kernel/trunk/generic/src/synch/waitq.c
73,7 → 73,7
bool do_wakeup = false;
 
spinlock_lock(&threads_lock);
if (!list_member(&t->threads_link, &threads_head))
if (!thread_exists(t))
goto out;
 
grab_locks:
117,7 → 117,7
 
ipl = interrupts_disable();
spinlock_lock(&threads_lock);
if (!list_member(&t->threads_link, &threads_head))
if (!thread_exists(t))
goto out;
 
grab_locks: