Match libpthread's behavior and make pthread_join(NULL, whatever) fail
authorguenther <guenther@openbsd.org>
Thu, 14 Aug 2008 05:57:06 +0000 (05:57 +0000)
committerguenther <guenther@openbsd.org>
Thu, 14 Aug 2008 05:57:06 +0000 (05:57 +0000)
commit4b3fbaa6d58a982e33cb68b9c9f7b130d2dafebb
tree10a25039d19ab4d914e439d98464194c071fc1d8
parent2615af8ec49f7562b6f088728b6204c14e81891e
Match libpthread's behavior and make pthread_join(NULL, whatever) fail
instead of crashing

ok kurt@
first observed by Jung <moorang at gmail.com>
lib/librthread/rthread.c