Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
Notice: | Welcome to the Digital UNIX Conference |
Moderator: | SMURF::DENHAM |
Created: | Thu Mar 16 1995 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 10068 |
Total number of notes: | 35879 |
I'm using inet_ntoa() in a multi-threaded process. The function returns a pointer to a dot-formatted character string. Do you know if this is already thread-safe or should I protect this with a mutex? i.e. is inet_ntoa() using static memory to return this string, in which case its not thread-safe.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
9022.1 | yup | SMURF::DANIELE | Tue Mar 04 1997 09:23 | 5 | |
The code is explicitly thread-safe as of V4.0. (I believe "all" of libc was made t-s in V4.0...) Mike |