This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is gethostbyname_r() reentrant?


[Roland McGrath]
> All the state such as the file descriptors for sockets live in the
> _res data structure.  That is per-thread via macro magic or TLS, not
> a global variable as it might appear to be (and was originally in
> the days before threading support).

Hm, OK.  Was this the case in glibc 2.1.3 as well?  I do not work at
Opera any more, and do not have access to the FreePAD where I first
was able to detect this problem.  And my current computer is way
faster then the last machine I was able to detect the problem on.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]