mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
f9f8c417ef
commit
e59e799e04
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue