mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
iPerformance and GC improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13726 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5651fe7dbb
commit
ecbcc202a1
15 changed files with 167 additions and 114 deletions
|
@ -292,6 +292,7 @@ existingConnection(NSPort *receivePort, NSPort *sendPort)
|
|||
break;
|
||||
}
|
||||
}
|
||||
NSEndHashTableEnumeration(&enumerator);
|
||||
F_UNLOCK(connection_table_gate);
|
||||
return c;
|
||||
}
|
||||
|
@ -381,6 +382,7 @@ static BOOL multi_threaded = NO;
|
|||
c->_refGate = [NSRecursiveLock new];
|
||||
}
|
||||
}
|
||||
NSEndHashTableEnumeration(&enumerator);
|
||||
}
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
removeObserver: self
|
||||
|
@ -2067,6 +2069,7 @@ static void retEncoder (DOContext *ctxt)
|
|||
count++;
|
||||
}
|
||||
}
|
||||
NSEndHashTableEnumeration(&enumerator);
|
||||
M_UNLOCK(connection_table_gate);
|
||||
|
||||
return count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue