mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Add methods from Rhapsody.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3220 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d3750cb47f
commit
ee1b63a7ad
10 changed files with 116 additions and 3 deletions
|
@ -102,6 +102,12 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL)lockBeforeDate:(NSDate *)limit
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
return NO;
|
||||
}
|
||||
|
||||
// NSLocking protocol
|
||||
- (void) lock
|
||||
{
|
||||
|
@ -290,6 +296,20 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
}
|
||||
}
|
||||
|
||||
// Acquiring the lock with a date condition
|
||||
- (BOOL)lockBeforeDate:(NSDate *)limit
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (BOOL)lockWhenCondition:(int)condition
|
||||
beforeDate:(NSDate *)limit
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
return NO;
|
||||
}
|
||||
|
||||
// NSLocking protocol
|
||||
// These methods ignore the condition
|
||||
- (void) lock
|
||||
|
@ -376,6 +396,12 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL)lockBeforeDate:(NSDate *)limit
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
return NO;
|
||||
}
|
||||
|
||||
// NSLocking protocol
|
||||
- (void) lock
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue