Not sure about other platforms, but OS/400 errno is thread-safe. I think this is true for AIX and Linux, but you may need to verify.
Nadir K. Amra e-Business Technologies - IBM eServer i5/OS IBM Rochester, MN, (Tel. 507-253-0645, t/l 553-0645) Internet: [EMAIL PROTECTED] John Hawkins <[EMAIL PROTECTED]> wrote on 01/11/2005 05:45:38 AM: > > Hi Folks, > > Still looking into errno ! > After finding yet another issue that was solved by getting errno. I > want to use it but it isn't thread-safe. Looking here -> http: > //httpd.apache.org/docs-2.0/developer/thread_safety.html > It gives the recommendation of "make sure your module or library defines > _REENTRANT or is compiled with -D_REENTRANT. " > > It seems fair enough but has anyone had any experience with using this ? > > John Hawkins