mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-15 02:21:30 +00:00
Fixup bad indentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29473 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d85c001251
commit
7f2d7d10eb
1 changed files with 23 additions and 19 deletions
|
@ -390,8 +390,10 @@ MUNLOCK
|
||||||
{
|
{
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
while ([_condition waitUntilDate: limitDate]) {
|
while ([_condition waitUntilDate: limitDate])
|
||||||
if (condition_to_meet == _condition_value) {
|
{
|
||||||
|
if (condition_to_meet == _condition_value)
|
||||||
|
{
|
||||||
return YES; // KEEP THE LOCK
|
return YES; // KEEP THE LOCK
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -409,15 +411,17 @@ MNAME
|
||||||
|
|
||||||
- (BOOL) tryLockWhenCondition: (NSInteger)condition_to_meet
|
- (BOOL) tryLockWhenCondition: (NSInteger)condition_to_meet
|
||||||
{
|
{
|
||||||
if ([_condition tryLock]) {
|
if ([_condition tryLock])
|
||||||
if (condition_to_meet == _condition_value) {
|
{
|
||||||
|
if (condition_to_meet == _condition_value)
|
||||||
|
{
|
||||||
return YES; // KEEP THE LOCK
|
return YES; // KEEP THE LOCK
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
[_condition unlock];
|
[_condition unlock];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue