mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
tryLock and lockBeforeDate: just return NO on recursive locks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze-1_0_0@9536 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e5a0c8b67f
commit
55baf1cb47
1 changed files with 0 additions and 2 deletions
|
@ -7,9 +7,7 @@ int main ()
|
|||
{
|
||||
id pool = [NSAutoreleasePool new];
|
||||
id o = [NSObject new];
|
||||
NSLock *lock = [NSLock new];
|
||||
printf ("Hello from object at 0x%x\n", (unsigned)[o self]);
|
||||
[lock tryLock];
|
||||
exit (0);
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue