[libcxx-commits] [PATCH] D97539: [libcxx] Implement semaphores for windows

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 4 15:12:38 PST 2021


Quuxplusone resigned from this revision.
Quuxplusone added inline comments.


================
Comment at: libcxx/include/__threading_support:154
+# define _LIBCPP_SEMAPHORE_MAX (numeric_limits<long>::max())
+#endif
 
----------------
Does this file actually `#include <limits>`?
Also: This is a sneaky way to prevent people from using the macro outside of `namespace std`. 😛


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97539/new/

https://reviews.llvm.org/D97539



More information about the libcxx-commits mailing list