When "purifying" dxexec I couldn't help but notice billyuns and billyuns
of signal 48's... that's SIGPTRESCHED.  Seems like a lot of kernel
activity for possibly not much benefit on a uniprocessor.  I cut
-lpthread manually from the link line of dxexec-- to no ill effect.
Glancing at configure, if there is a pthread library, we link it.  We
don't check to see if it is actually required.    Buggy pthread
implementations are an exposure:  pthreads seem to be an area of
frequent OS patches. Plus we are defaulting to e.g. cc not cc_r,
therefore we are counting on libc being libc_r.  X must also be
thread-safe.  These are not givens across platforms, as some prior
appends attest.  What platforms require -lpthread?  Should we exclude
-lpthread on systems that can link without it?  What would the configure
test be?

Reply via email to