Date: Fri, 31 May 2002 14:01:57 -0700 From: Peter Haight <peterh@sapros.com> To: Clint Olsen <clint@0lsen.net> Cc: hackers@freebsd.org Subject: Re: Is gethostbyname2() reentrant? Message-ID: <200205312101.g4VL1vvj057289@wartch.sapros.com>
next in thread | raw e-mail | index | archive | help
>On May 31, Peter Haight wrote: >> >> If I link with libc_r can I use gethostbyname2() at the same time in two >> different threads? > >Pardon my ignorance, but how does re-entrancy affect this? It would seem >that you're interested in a function that doesn't block. The function returns a pointer to some sort of memory. I'm worried that the the two separate requests could possibly mess up each others memory. Maybe I have the terminology wrong. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205312101.g4VL1vvj057289>