some (disabled) debug stuff

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32645 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2009-08-23 22:30:53 +00:00
parent 899d145454
commit cc9fa1ae39

View File

@ -87,7 +87,11 @@ DirectWindowData::_SyncronizeWithClient()
// Wait with a timeout of half a second until the client exits
// from its DirectConnected() implementation
do {
status = acquire_sem_etc(fAcknowledgeSem, 1, B_TIMEOUT, 500000);
#if 0
status = acquire_sem(fAcknowledgeSem);
#else
status = acquire_sem_etc(fAcknowledgeSem, 1, B_TIMEOUT, 3000000);
#endif
} while (status == B_INTERRUPTED);
return status;