Revision: 5121
http://skim-app.svn.sourceforge.net/skim-app/?rev=5121&view=rev
Author: hofman
Date: 2009-01-12 17:50:13 +0000 (Mon, 12 Jan 2009)
Log Message:
-----------
Invert check to really block main thread till DO server is set up
Modified Paths:
--------------
trunk/SKPDFSynchronizerServer.m
Modified: trunk/SKPDFSynchronizerServer.m
===================================================================
--- trunk/SKPDFSynchronizerServer.m 2009-01-11 12:59:31 UTC (rev 5120)
+++ trunk/SKPDFSynchronizerServer.m 2009-01-12 17:50:13 UTC (rev 5121)
@@ -189,7 +189,7 @@
if (NO == [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode
beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]])
[self setShouldKeepRunning:NO];
OSMemoryBarrier();
- } while (serverFlags->serverReady == 0 && serverFlags->shouldKeepRunning
== 0);
+ } while (serverFlags->serverReady == 0 && serverFlags->shouldKeepRunning
== 1);
}
#pragma mark | Server protocol
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit