thread safety and host lookups
    Louis LeBlanc 
    freebsd at keyslapper.org
       
    Thu Oct  9 16:31:15 PDT 2003
    
    
  
Hey folks.  I'm working on a port from Solaris to FreeBSD.  For the
most part, things are pretty straightforward, but I can't seem to find
the details on thread safety for some system calls.
gethostbyname_r() is the thread safe call that replaces
gethostbyname() on Solaris.
Is there a similar alternative call in FreeBSD, or was the default
system call modified to ensure thread safety?
TIA
Lou
-- 
Louis LeBlanc               leblanc at keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     Ô¿Ô¬
Kramer's Law:
  You can never tell which way the train went by looking at the tracks.
    
    
More information about the freebsd-questions
mailing list