From cc9fa1ae39146c644a95258ae3aceca414a538f9 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Sun, 23 Aug 2009 22:30:53 +0000 Subject: [PATCH] some (disabled) debug stuff git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32645 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/DirectWindowSupport.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/servers/app/DirectWindowSupport.cpp b/src/servers/app/DirectWindowSupport.cpp index 61e93f5680..b155942277 100644 --- a/src/servers/app/DirectWindowSupport.cpp +++ b/src/servers/app/DirectWindowSupport.cpp @@ -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;