summaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-02-19 21:30:22 +0100
committerRichard Braun <rbraun@sceen.net>2014-02-19 21:30:22 +0100
commit3b391db91f70b2166951413ee1eccc78cd398a44 (patch)
tree59bf0503bac417c29e4a3a8db699b46180a5ae6d /sysdeps/generic
parent7c6dc6e28b2fc4b67934223f41cf080ffe58b230 (diff)
Make name resolution thread-safe
* pthread/pt-alloc.c (initialize_pthread): Reset resolver state. * pthread/pt-create.c: Include <resolv.h>. (entry_point): Update the __resp TLS variable to point to the resolver state of the current thread. * pthread/pt-internal.h: Define __need_res_state and include <resolv.h>. (struct __pthread): New `res_state' member.
Diffstat (limited to 'sysdeps/generic')
0 files changed, 0 insertions, 0 deletions