don't exit timer loop on B_INTERRUPTED
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7480 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -104,7 +104,7 @@ timer_thread(void *cookie)
|
|||||||
}
|
}
|
||||||
|
|
||||||
status = acquire_sem_etc(sTimerSem, 1, B_ABSOLUTE_TIMEOUT, timeout);
|
status = acquire_sem_etc(sTimerSem, 1, B_ABSOLUTE_TIMEOUT, timeout);
|
||||||
} while (status == B_OK || status == B_TIMED_OUT);
|
} while (status != B_BAD_SEM_ID);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user