mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
New stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15286 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3409e09460
commit
2bf71f97c7
8 changed files with 318 additions and 82 deletions
|
@ -662,6 +662,7 @@ static BOOL multi_threaded = NO;
|
|||
NSArray *cached_locals;
|
||||
int i;
|
||||
|
||||
M_LOCK(global_proxies_gate);
|
||||
cached_locals = NSAllMapTableValues(targetToCached);
|
||||
for (i = [cached_locals count]; i > 0; i--)
|
||||
{
|
||||
|
@ -678,6 +679,7 @@ static BOOL multi_threaded = NO;
|
|||
[t invalidate];
|
||||
timer = nil;
|
||||
}
|
||||
M_UNLOCK(global_proxies_gate);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3107,12 +3109,12 @@ static void callEncoder (DOContext *ctxt)
|
|||
node = GSIMapNodeForKey(_localObjects, (GSIMapKey)anObj);
|
||||
if (node == 0)
|
||||
{
|
||||
prox = nil;
|
||||
}
|
||||
else
|
||||
{
|
||||
prox = node->value.obj;
|
||||
M_LOCK(global_proxies_gate);
|
||||
M_LOCK(_proxiesGate);
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"Attempt to remove non-existent local %@", anObj];
|
||||
}
|
||||
prox = node->value.obj;
|
||||
target = ((ProxyStruct*)prox)->_handle;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue