Thread fixes for NSConnection

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8174 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-11-22 08:41:07 +00:00
parent 4211a9d8dd
commit 472f5a6d1f
6 changed files with 29 additions and 14 deletions

View file

@ -390,12 +390,12 @@ static IMP initImp;
return self;
}
+ (void) _endThread
+ (void) _endThread: (NSThread*)thread
{
struct autorelease_thread_vars *tv;
id pool;
tv = ARP_THREAD_VARS;
tv = &(GSCurrentThread()->_autorelease_vars);
while (tv->current_pool)
{
[tv->current_pool release];