Re: thread safety fix

Samuel Tardieu <[email protected]> 07 Feb 2005 17:59:39 +0100
Newsgroups gmane.comp.lang.ada.sockets
Message-ID <[email protected]>
>>>>> "Dmitriy" == Dmitriy Anisimkov <[email protected]> writes:

Dmitriy> We should unlock Naming_Lock only after complete using
Dmitriy> "Res" access variable, because thread unsafety is because of
Dmitriy> C_Gethostbyname and C_Gethostbyaddr returning access to the
Dmitriy> internal static buffer. It is a common C thread unsafety.

Thanks Dmitriy, I have applied your patch to my development version
and it will be included in the next release of AdaSockets.

  Sam
-- 
Samuel Tardieu -- [email protected] -- http://www.rfc1149.net/sam

_______________________________________________
AdaSockets mailing list
[email protected]
http://lists.rfc1149.net/mailman/listinfo/adasockets