As suggested by Dave Mitchell, adding yield()s at
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 12 May 2002 13:50:20 +0000 (13:50 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 12 May 2002 13:50:20 +0000 (13:50 +0000)
commitda32f63e54ca956472e919d15f2271b9494ad04e
tree59faca2ecae9ea4916314d74b2e8288166e972a5
parent9e6e1fbb8b27d0a486b8e23aa00918215f652f9f
As suggested by Dave Mitchell, adding yield()s at
appropriate spots helps non-preemptive thread
implementations, like the GNU pth.  Tested at NetBSD
by Martin Weber <Ephaeton@gmx.net>.

p4raw-id: //depot/perl@16555
ext/threads/t/basic.t
ext/threads/t/list.t
ext/threads/t/thread.t