mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix minor thread-safety issue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25997 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e98cee3eb7
commit
83829d5c01
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-01-23 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSHost.m: Fix minor thread safety issue ... could get
|
||||
release host if another thread clears cache at same time as lookup.
|
||||
|
||||
2008-01-21 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Resources/Languages/Spanish: Quoting corrections by Matias
|
||||
|
|
|
@ -373,6 +373,10 @@ myHostName()
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
AUTORELEASE(RETAIN(host));
|
||||
}
|
||||
[_hostCacheLock unlock];
|
||||
if (tryByAddress == YES)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue