jroelofs added a comment.

I get away with not having the guard in <__mutex_base> because all the places 
where these two headers are used have:

  #ifdef _LIBCPP_HAS_NO_THREADS
  #error <thread> is not supported on this single threaded system
  #else // !_LIBCPP_HAS_NO_THREADS

The one in mutex, I think, is a result of me not having rebased in a _long_ 
time, and the buildbot for it not testing exactly the same setup as me.


http://reviews.llvm.org/D9639




_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to