In order to get a reasonable state for further Pth 1.5 development, I flushed the still pending changes and released Pth 1.4.1 today. Except for a Read/Write-Lock problem it includes fixes for all bugs I was aware of (see appended ChangeLog entries). If I still missed one, please drop me a note so I can incorporate the fix into the forthcoming 1.4.2 and 1.5.0. Sorry for the development silence on GNU Pth over the last months, but I was very busy working on other libraries (released soon) and on OpenPKG (see http://www.openpkg.org/).
Fetch GNU Pth 1.4.1 from: ftp://ftp.gnu.org/gnu/pth/ Yours, Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com Changes between 1.4.0 and 1.4.1 (24-Mar-2001 to 27-Jan-2002) *) Internally make sure an invalid file-descriptor (integer not between 0 and (FD_SETSIZE-1) does not lead to any segfaults or other undefined behaviour. Instead an error is returned and errno is set to EBADF, similar to what the OS functions do. Especially pth_poll() now return with this error (instead of skipping the fd) if an fd in the "struct pollfd" is invalid. [Ralf S. Engelschall, Archie Cobbs <[EMAIL PROTECTED]>] *) Correctly support PTH_FDMODE_NONBLOCK in pth_connect and pth_accept. [Archie Cobbs <[EMAIL PROTECTED]>] *) Fixed typos in manual page. [Michael Schloh v. Bennewitz <[EMAIL PROTECTED]>, Takashi Ishihara <[EMAIL PROTECTED]>] *) For portability reasons changed definition of PTH_EXT_SFIO to 0/1 instead of FALSE/TRUE because some external definitions use a casted value and hence make trouble on plain #if constructs. [Staehli Patrik <[EMAIL PROTECTED]>] *) Fixed return value (number of occurred events) of pth_wait(). [David Dureau <[EMAIL PROTECTED]>] *) Replaced thread-unsafe usage of a static struct iovec in pth_writev_ev() with a thread-safe stack/heap-based solution. [Ralf S. Engelschall, Mark Burton <[EMAIL PROTECTED]>] *) Replaced antiquated PTH_FLAG_NOJOIN references with the correct PTH_ATTR_JOINABLE references in the manual page. [Takashi Ishihara <[EMAIL PROTECTED]>] *) Fixed a (not very subtle) bug in pth_writev_ev() that screwed up output if a partial write happened. [Mark Burton <[EMAIL PROTECTED]>] *) Fixed static initializers PTH_BARRIER_INIT and PTH_COND_INIT. [Shawn Wagner <[EMAIL PROTECTED]>] *) Typo fixes in pth.pod [<[EMAIL PROTECTED]>] *) Upgraded to GNU shtool, version 1.5.4. [Ralf S. Engelschall] *) Fixed "make striptease": pth_string.c was not included and some commands which were removed at all (and this way causes syntax errors) will be now correctly commented out with ":" commands. [Paolo Bonzini <[EMAIL PROTECTED]>] *) Fixed pth.pod: a closing angle bracket was missing, leading to incorrect POD to XXXX formatting. [Ralf S. Engelschall] ______________________________________________________________________ GNU Portable Threads (Pth) http://www.gnu.org/software/pth/ User Support Mailing List [EMAIL PROTECTED] Automated List Manager (Majordomo) [EMAIL PROTECTED]