libroot.so: libc-lock.h: use a pthread mutex based impl

Operating Systems / Haiku - Jérôme Duval [gmail.com] - 28 March 2015 16:02 UTC

- based on current glibc sysdeps/nptl/bits/libc-lock.h file.
- include missing headers which were previously included by libc-lock.h.
- This fixes #11182.

f5e61f7 libroot.so: libc-lock.h: use a pthread mutex based impl.
.../libroot/posix/glibc/include/bits/libc-lock.h | 270 ++++----------------
src/system/libroot/posix/glibc/libio/wfileops.c | 1 +
.../libroot/posix/glibc/stdio-common/tempnam.c | 2 +
3 files changed, 57 insertions(+), 216 deletions(-)

Upstream: cgit.haiku-os.org


  • Share