Fix PR 6417: if we're starting a thread and there's no other threads
authorguenther <guenther@openbsd.org>
Tue, 13 Jul 2010 04:24:46 +0000 (04:24 +0000)
committerguenther <guenther@openbsd.org>
Tue, 13 Jul 2010 04:24:46 +0000 (04:24 +0000)
commit0b97e862f4a1c431e0fc15b9afafa693914dbbb0
tree063d90c50543c9e9286eea5988dee098eaac18d6
parent1fed1a6c4dd8e122994e232326f6d58c5e96c437
Fix PR 6417: if we're starting a thread and there's no other threads
running, then we need to start a gc thread...except when this is
the very call to start a gc thread!

"This works for me" marc@
lib/libpthread/uthread/uthread_create.c