On Wed, Oct 03, 2001, David Dureau wrote: > Following the manual, the function int pth_wait(pth_event_t ev) > must return the number of occurred events. > In fact, it returns the total number of event in the event ring ev. > The attached source file shows this bug. > > The error was easy to find. > [...] > if ( ev->ev_occurred == TRUE ) { > [...] > which calculates the number of actually occurred events. > > Do you agree with me ?
Yes, of course. Good catch. This is now fixed for Pth 1.4.1 according to your feedback. Thanks for your support. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ GNU Portable Threads (Pth) http://www.gnu.org/software/pth/ User Support Mailing List [EMAIL PROTECTED] Automated List Manager (Majordomo) [EMAIL PROTECTED]