Re: pth_nap() never wakes up bug

2001-02-25 Thread Ralf S. Engelschall
On Fri, Feb 16, 2001, Archie Cobbs wrote: This patch seems to fix the problem below: --- work/pth-1.3.7/pth_sched.c Fri Mar 10 02:58:32 2000 +++ work.fixed/pth-1.3.7/pth_sched.cFri Feb 16 20:21:57 2001 @@ -763,8 +763,10 @@ } /* perhaps we have to internally loop... */

pth_nap() never wakes up bug

2001-02-16 Thread Archie Cobbs
Unless I'm confused (very possible) the program below shows a bug in pth where a thread that calls pth_nap() is never woken up. If you run the program, you'll see the thread go to sleep but never wake up. This is with pth-1.3.7 running on FreeBSD. -Archie