From f2528f2c9f63f68cecf6cf3c761a09e6b69e3025 Mon Sep 17 00:00:00 2001 From: rfm Date: Mon, 18 Feb 2008 10:40:52 +0000 Subject: [PATCH] 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 --- Source/NSDistributedNotificationCenter.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/NSDistributedNotificationCenter.m b/Source/NSDistributedNotificationCenter.m index 9d3509698..f67200f62 100644 --- a/Source/NSDistributedNotificationCenter.m +++ b/Source/NSDistributedNotificationCenter.m @@ -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];