Remove obslete code

This commit is contained in:
rfm 2024-05-30 11:28:49 +01:00
parent 58ae7db59a
commit cfc158b4ce
2 changed files with 4 additions and 10 deletions

View file

@ -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;