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 / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message