* Jacques A. Vidrine <[EMAIL PROTECTED]> [001005 16:18] wrote:
> 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.
It sure looks like it.
cd /usr/src/lib/libc/ ; grep pthread */*
--
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message