[libcxx-commits] [PATCH] D154425: [libc++] add basic runtime assertions to <latch>

Edo via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 4 13:34:45 PDT 2023


diamante0018 updated this revision to Diff 537167.
diamante0018 added a comment.

Added an assertions to check that when the latch object is constructed "n" is not greater than max


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

https://reviews.llvm.org/D154425

Files:
  libcxx/include/latch
  libcxx/test/libcxx/thread/thread.latch/assert.arrive_and_wait.pass.cpp
  libcxx/test/libcxx/thread/thread.latch/assert.count_down.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154425.537167.patch
Type: text/x-patch
Size: 4745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230704/af3ea826/attachment.bin>


More information about the libcxx-commits mailing list