summaryrefslogtreecommitdiff
path: root/libc/stdlib/mblen.c
diff options
context:
space:
mode:
authorKenneth Soerensen <kenneth.sorensen@spectralink.com>2013-04-10 16:52:52 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-11-12 16:12:32 +0100
commitecc7aee9a0eb4f9fbdf4dc2972e8c6361e531b6a (patch)
tree5a7d61dc209c68dcc2a02fd5556b171878ec34d1 /libc/stdlib/mblen.c
parent20b69920b299585265eb100d0b67e1097ccb1092 (diff)
Make res_init() thread safe.
res_init() was not atomic, which could give undesired behaviour. Now res_init() is completely locked under one lock and the locking is removed from __res_vinit(). Signed-off-by: Kenneth Soerensen <kenneth.sorensen@spectralink.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/mblen.c')
0 files changed, 0 insertions, 0 deletions