mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Remove obslete code
This commit is contained in:
parent
58ae7db59a
commit
cfc158b4ce
2 changed files with 4 additions and 10 deletions
|
@ -187,7 +187,7 @@ static Class messagePortClass = 0;
|
|||
ports = NSCreateMapTable(NSNonRetainedObjectMapKeyCallBacks,
|
||||
NSNonOwnedPointerMapValueCallBacks, 0);
|
||||
[[NSObject leakAt: &ports] release];
|
||||
messagePortLock = [GSLazyRecursiveLock new];
|
||||
messagePortLock = [NSRecursiveLock new];
|
||||
[[NSObject leakAt: &messagePortLock] release];
|
||||
security.nLength = sizeof(SECURITY_ATTRIBUTES);
|
||||
security.lpSecurityDescriptor = 0; // Default
|
||||
|
@ -310,7 +310,7 @@ static Class messagePortClass = 0;
|
|||
this->name = [[NSString alloc] initWithFormat: @"%08x%08x",
|
||||
((unsigned)ident), sequence++];
|
||||
|
||||
this->lock = [GSLazyRecursiveLock new];
|
||||
this->lock = [NSRecursiveLock new];
|
||||
this->wHandle = INVALID_HANDLE_VALUE;
|
||||
this->wEvent = INVALID_HANDLE_VALUE;
|
||||
|
||||
|
@ -372,7 +372,7 @@ static Class messagePortClass = 0;
|
|||
self->_is_valid = YES;
|
||||
this->name = [name copy];
|
||||
|
||||
this->lock = [GSLazyRecursiveLock new];
|
||||
this->lock = [NSRecursiveLock new];
|
||||
|
||||
this->rState = RS_NONE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue