Date: Thu, 5 Oct 2000 18:17:51 -0500 From: "Jacques A. Vidrine" <n@nectar.com> To: freebsd-hackers@freebsd.org Subject: _THREAD_SAFE in libc Message-ID: <20001005181751.A68499@hamlet.nectar.com>
next in thread | raw e-mail | index | archive | help
Is it ok to use pthread_rwlock* and other such primitives in code in src/lib/libc (when _THREAD_SAFE is defined, of course)? I ask because I don't see any other code doing this. Perhaps there is a private interface to use? Perhaps I'm barking up the wrong tree? Context: I want to make nsdispatch thread safe (inasmuch as possible-- e.g. I'm not tackling the resolver), so I need to protect its data structures. -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org 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?20001005181751.A68499>