Thread-safe functions

Thread-safe functions

Post by Dado Coluss » Wed, 13 May 1998 04:00:00



Posix Threads standard describes several (optional) *_r
thread-safe functions. Most of them seem not to exist in
FreeBSD (3.0-980414-SNAP). Is someone working on this
subject?

Two other interesting observations I made last night:

1. _POSIX_THREADS macro is defined in pthread.h but
I think it should be defined in unistd.h. (See Programming
with Posix Threads, page 307).

2. _POSIX_THREAD_SAFE_FUNCTIONS is defined even if
most of the functions are not implemented. This should
be in the unistd.h too, shouldn't it.

--
Dado Colussi                    Xenetic Oy

     suora  (09) 6689 6485           fax      (09) 6689 6489
     gsm    040 500 5501             osoite   Pursimiehenkatu 29-31 B
                                              00150 HELSINKI