Quoting Emil Velikov (2015-03-19 15:26:11) > PTHREAD_MUTEX_RECURSIVE_NP was used for compatibility with old glibc. > Although due to the_GNU_SOURCES define the portable, > PTHREAD_MUTEX_RECURSIVE will be available for Linuxes since at least > 1998. Simplify things giving us compatibility with musl which > apparently does not provide the non-portable define. > > Inspired by almost identical commit in mesa aead7fe2e2b(c11/threads: Use > PTHREAD_MUTEX_RECURSIVE by default) by Felix Janda. > > Signed-off-by: Emil Velikov <[email protected]> > --- > third_party/threads/threads_posix.c | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-)
Reviewed-by: Chad Versace <[email protected]> This patch looks safe to land before the others in the series, so I'll go ahead and commit it. _______________________________________________ waffle mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/waffle

