Now drops into the debugger if the window/looper is still locked in task_looper().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13480 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-07-06 04:52:58 +00:00
parent 4c3e1ace67
commit b93d2480cc
2 changed files with 18 additions and 28 deletions
+3
View File
@@ -2140,6 +2140,9 @@ BWindow::task_looper()
// Unlock the looper
Unlock();
if (IsLocked())
debugger("window must not be locked!");
// loop: As long as we are not terminating.
while (!fTerminating) {
// TODO: timeout determination algo