diff options
author | Kenneth Soerensen <kenneth.sorensen@spectralink.com> | 2013-04-10 16:52:52 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-11-12 16:12:32 +0100 |
commit | ecc7aee9a0eb4f9fbdf4dc2972e8c6361e531b6a (patch) | |
tree | 5a7d61dc209c68dcc2a02fd5556b171878ec34d1 /include/memory.h | |
parent | 20b69920b299585265eb100d0b67e1097ccb1092 (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 'include/memory.h')
0 files changed, 0 insertions, 0 deletions