sb-bsd-sockets: gethostbyname and gethostbyaddr are not thread safe
authorNikodemus Siivola <nikodemus@sb-studio.net>
Fri, 18 Nov 2011 14:37:20 +0000 (16:37 +0200)
committerNikodemus Siivola <nikodemus@sb-studio.net>
Fri, 18 Nov 2011 15:34:13 +0000 (17:34 +0200)
commitdcf7b5cbc859426d005b534f3fa273be5da0b64c
tree6bc226264523544fc2d82cc510f361ff0fcbbc50
parentab5427d31da2bd95805cccc8e47b8f43d3dd606d
sb-bsd-sockets: gethostbyname and gethostbyaddr are not thread safe

   ...or re-entrant. Need to disable interrupts and grab a lock.

   Affects only platforms without getaddrinfo.

   Correct the size of memory leak fixed in last commit in NEWS -- it
   was more than one word per call.
NEWS
contrib/sb-bsd-sockets/name-service.lisp