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:
@@ -404,6 +404,10 @@ sem_timeout(timer *data)
|
|||||||
// this thread was not waiting on this semaphore
|
// 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",
|
panic("sem_timeout: thid %ld was trying to wait on sem %ld which doesn't exist!\n",
|
||||||
args->blocked_thread, args->blocked_sem_id);
|
args->blocked_thread, args->blocked_sem_id);
|
||||||
|
|
||||||
|
RELEASE_SEM_LOCK(sSems[slot]);
|
||||||
|
restore_interrupts(state);
|
||||||
|
return B_HANDLED_INTERRUPT;
|
||||||
}
|
}
|
||||||
|
|
||||||
clear_thread_queue(&wakeupQueue);
|
clear_thread_queue(&wakeupQueue);
|
||||||
|
|||||||
Reference in New Issue
Block a user