mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-12 00:51:08 +00:00
just hope for extension to work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39840 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5224b275d8
commit
e7c50a1eb2
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@ int main()
|
||||||
#endif
|
#endif
|
||||||
NS_DURING
|
NS_DURING
|
||||||
{
|
{
|
||||||
|
testHopeful = YES;
|
||||||
PASS([lock isLockedByCurrentThread] == NO,
|
PASS([lock isLockedByCurrentThread] == NO,
|
||||||
"NSRecursiveLock isLockedByCurrentThread returns NO when not locked");
|
"NSRecursiveLock isLockedByCurrentThread returns NO when not locked");
|
||||||
[lock lock];
|
[lock lock];
|
||||||
|
@ -44,6 +45,7 @@ int main()
|
||||||
[lock unlock];
|
[lock unlock];
|
||||||
PASS([lock isLockedByCurrentThread] == NO,
|
PASS([lock isLockedByCurrentThread] == NO,
|
||||||
"NSRecursiveLock isLockedByCurrentThread returns NO when unlocked");
|
"NSRecursiveLock isLockedByCurrentThread returns NO when unlocked");
|
||||||
|
testHopeful = NO;
|
||||||
}
|
}
|
||||||
NS_HANDLER
|
NS_HANDLER
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue