In article <201805010049.w410nejj025...@lothlorien.nfbcal.org>,
Brian Buhrow  <buh...@nfbcal.org> wrote:
>
>       Threading works fine under NetBSD-5, the problem is sendmail's use of
>the _res structure for DNS queries.

It should be fixed not to do that :-)

>       What's unclear to me, is if the problem is that while the comment says
>you don't need to arbitrarily link all programs against libpthread on
>NetBSD-5, you  do if they use thread_create or thread_destroy.  My first
>thought was to exclude NetBSD-5 from this requirement, but it occurs to me
>that you don't always know if a program uses thread_create or not.  
>On second thought, however, it looks like this stanza links all sources
>built under NetBSd, from NetBSD-3 forward, with libpthread unconditionally.
>Is that really the correct behavior?

It is not desirable, but this is how it works now.

christos

Reply via email to