summaryrefslogtreecommitdiff
path: root/automation/source/communi
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-10 21:29:02 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-10 21:29:02 -0500
commitf81e36d56ed79d1d4d06d928dbf095966261dbca (patch)
tree572ea460fc5ab28e46c6017e3d8ba197fdda94bf /automation/source/communi
parent53f428d9bf8f9648e21bf89cfbb406747536ed09 (diff)
merge vosremoval-thread patch
Diffstat (limited to 'automation/source/communi')
-rw-r--r--automation/source/communi/communi.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/automation/source/communi/communi.cxx b/automation/source/communi/communi.cxx
index e62e060ba89c..dd2340bcaaa0 100644
--- a/automation/source/communi/communi.cxx
+++ b/automation/source/communi/communi.cxx
@@ -205,7 +205,7 @@ void CommunicationLinkViaSocket::run()
TimeValue sNochEins = {0, 1000000};
while ( schedule() && bIsInsideCallback ) // solange der letzte Callback nicht beendet ist
- sleep( sNochEins );
+ wait( sNochEins );
SetNewPacketAsCurrent();
StartCallback();
{
@@ -216,7 +216,7 @@ void CommunicationLinkViaSocket::run()
}
TimeValue sNochEins = {0, 1000000};
while ( schedule() && bIsInsideCallback ) // solange der letzte Callback nicht beendet ist
- sleep( sNochEins );
+ wait( sNochEins );
StartCallback();
{
@@ -527,7 +527,7 @@ void CommunicationManagerServerAcceptThread::run()
TimeValue sNochEins = {0, 100};
while ( schedule() && xmNewConnection.Is() ) // Solange die letzte Connection nicht abgeholt wurde warten wir
- sleep( sNochEins );
+ wait( sNochEins );
xmNewConnection = new CommunicationLinkViaSocket( pMyServer, pStreamSocket );
xmNewConnection->StartCallback();
{