Date: Mon, 29 Oct 2001 16:57:08 -0800 (PST) From: Lamont Granquist <lamont@scriptkiddie.org> To: Daniel Eischen <eischen@vigrid.com> Cc: <freebsd-hackers@FreeBSD.ORG> Subject: Re: MT-Safe wrapper around memcpy()? Message-ID: <20011029165510.K35607-100000@coredump.scriptkiddie.org> In-Reply-To: <Pine.SUN.3.91.1011029072107.26899A-100000@pcnet1.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks! Precisely what I was looking for. I coded up the routines today and they seem to work fine. On Mon, 29 Oct 2001, Daniel Eischen wrote: > The _THREAD_SAFE macro has gone away anyways (in -current), and we > (FreeBSD) shouldn't be conditionally compiling code in libc dependent > on whether libc_r is being built or not. And I wouldn't recommend it > for user libraries either. > > Take a look at how libgcc works (src/contrib/gcc.295/gthr-posix.h). [...snip...] 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?20011029165510.K35607-100000>