Sleep for a 20th of a second to allow gdnc time to start up.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26087 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-02-18 10:40:52 +00:00
parent 2a596c41c2
commit 7c6c8de028

View file

@ -740,6 +740,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
while (_remote == nil && [limit timeIntervalSinceNow] > 0)
{
CREATE_AUTORELEASE_POOL(pool);
[NSThread sleepForTimeInterval: 0.05];
_remote = [NSConnection
rootProxyForConnectionWithRegisteredName: service
host: host usingNameServer: ns];