mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
fix for bug #39126
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36686 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7358c7d942
commit
dd840e5838
2 changed files with 13 additions and 1 deletions
|
@ -404,7 +404,10 @@ MUNLOCK
|
|||
- (BOOL) lockWhenCondition: (NSInteger)condition_to_meet
|
||||
beforeDate: (NSDate*)limitDate
|
||||
{
|
||||
[_condition lock];
|
||||
if (NO == [_condition lockBeforeDate: limitDate])
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
if (condition_to_meet == _condition_value)
|
||||
{
|
||||
return YES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue