Fix timer

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27018 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-11-09 09:17:43 +00:00
parent f9f8c417ef
commit e59e799e04

View file

@ -13,7 +13,7 @@ static NSArray *array;
@synchronized(array) {
NSLog(@"In the sync block %@:%d",[NSThread currentThread],[NSThread isMainThread]);
NSLog(@"Waiting five seconds...");
usleep(5000);
[NSThread sleepForTimeInterval: 5.0];
NSLog(@"Done waiting");
}
NSLog(@"After the sync block %@",[NSThread currentThread]);