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

Edo via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 16 03:53:21 PDT 2023


diamante0018 created this revision.
diamante0018 added a reviewer: ldionne.
Herald added a project: All.
diamante0018 requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Adding assertions will aid users that have bugs or logic mistakes in their code to receive better error messages.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155399

Files:
  libcxx/include/semaphore
  libcxx/test/libcxx/thread/thread.semaphore/assert.ctor.pass.cpp
  libcxx/test/libcxx/thread/thread.semaphore/assert.release.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155399.540778.patch
Type: text/x-patch
Size: 5604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230716/1c943521/attachment.bin>


More information about the libcxx-commits mailing list