-[ Thu, Sep 11, 2008 at 07:48:50AM +0200, Martin Koegler ]---- > The correct question should be: > * In which cases is pth_yield allowed to touch the errno?
When it encounters an error by itself, I would guess ? > The manual mention the error case, but does not talk about the normal > case. You are right ! My man page even states explicitely that "a function that succeeds is allowed to change errno." Sometime UNIX can be very counter intuitive in its details. > Based on this, I would say that pth_yield may change the errno in the > normal case too, as its an library call. And I agree. Thank you. ______________________________________________________________________ GNU Portable Threads (Pth) http://www.gnu.org/software/pth/ Development Site http://www.ossp.org/pkg/lib/pth/ Distribution Files ftp://ftp.gnu.org/gnu/pth/ Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/ User Support Mailing List pth-users@gnu.org Automated List Manager (Majordomo) [EMAIL PROTECTED]