]> git.ozlabs.org Git - ccan/commit
tap: WANT_PTHREAD not HAVE_PTHREAD
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Jul 2011 07:27:03 +0000 (16:57 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Jul 2011 07:27:03 +0000 (16:57 +0930)
commit532feb88f516f0848ae0e3eaf3a89a1fc94db6c4
tree3372a2a43897eade446d37281b0b8553a712711b
parentf4eb3a18caf946ee6cc2cb57e2a0c6a6f115157f
tap: WANT_PTHREAD not HAVE_PTHREAD

I'm not sure that a "pthread-safe" tap library is very useful; how many
people have multiple threads calling ok()?

Kirill Shutemov noted that it gives a warning with -Wundef; indeed, we
should ask in this case whether they want pthread support, not whether the
system has pthread support to offer.
ccan/tap/tap.c