Make sure system can continue after panic.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15519 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b53cc465d6
commit
381d6b57f6
|
@ -404,6 +404,10 @@ sem_timeout(timer *data)
|
|||
// this thread was not waiting on this semaphore
|
||||
panic("sem_timeout: thid %ld was trying to wait on sem %ld which doesn't exist!\n",
|
||||
args->blocked_thread, args->blocked_sem_id);
|
||||
|
||||
RELEASE_SEM_LOCK(sSems[slot]);
|
||||
restore_interrupts(state);
|
||||
return B_HANDLED_INTERRUPT;
|
||||
}
|
||||
|
||||
clear_thread_queue(&wakeupQueue);
|
||||
|
|
Loading…
Reference in New Issue