[patch] libstdc++/67408 Handle distinct __gthread_recursive_mutex_t type.

2015-09-02 Thread Jonathan Wakely
This makes recursive_timed_mutex work for non-pthreads targets where __gthread_mutex_t and __gthread_recursive_mutex_t are not the same type. Thanks to Sebastian for the bug report and patch. Tested powerpc64le-linux, committed to trunk. commit 852d09122561d301b2980b6f9c97e88c5499006c Author: J

[PATCH] libstdc++/67408

2015-09-01 Thread Sebastian Huber
2015-09-01 Sebastian Huber PR libstdc++/67408 * include/std/mutex (__timed_mutex_impl): Use __timedlock(). (timed_mutex): Add friend class __timed_mutex_impl. Add __timedlock(). (recursive_timed_mutex): Likewise. --- libstdc++-v3/include/std/mutex | 17