[PATCH] [libcxx] Fix bug in shared_timed_mutex that could cause a program to hang.

Eric Fiselier eric at efcs.ca
Thu Apr 2 13:03:47 PDT 2015


> The fix itself looks correct to me.


Good! The fix I had before released the mutex before calling notify_all(). I was hoping to do that as an optimization but I don't think it is possible. Should I be at all concerned about notifying other threads while holding the lock?


http://reviews.llvm.org/D8796

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list