On Mon, Dec 17, 2012 at 3:41 PM, Jonathan Wakely <jwakely....@gmail.com> wrote: > libgcc/ghtr.h claims that __gthread_cond_timedwait_recursive should be > defined to support the c++0x thread library, but that function isn't > used or needed anywhere by libstdc++: std::condition_variable can > only be used with std::mutex (i.e. a non-recursive mutex) and > std::condition_variable_any uses a std::mutex internally so only ever > waits on a non-recursive mutex. > > This patch removes the comment saying its required and the unused > gthr-posix.h implementation. > > * gthr.h (__gthread_cond_timedwait_recursive): Do not require. > * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove. > > Tested x86_64-linux, OK for trunk, or should this wait for stage 1?
This is OK now. Thanks. Ian