[libcxx-commits] [PATCH] D75156: Some fixes for open breaks on MacOS and UBSan

Olivier Giroux via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 25 22:07:33 PST 2020


__simt__ created this revision.
Herald added subscribers: libcxx-commits, ldionne.

In this patch:

1. Reduced the net of dependencies when platform semaphores are disabled.
2. Respect the signed range of ptrdiff_t in tests.
3. Construct the aligned member for the barrier algorithm properly.

Testing on this code is pretty light at this stage.


Repository:
  rCXX libc++

https://reviews.llvm.org/D75156

Files:
  libcxx/include/__threading_support
  libcxx/include/semaphore
  libcxx/src/barrier.cpp
  libcxx/test/std/thread/thread.semaphore/max.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75156.246629.patch
Type: text/x-patch
Size: 4230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200226/6fd28f37/attachment.bin>


More information about the libcxx-commits mailing list