[libcxx-commits] [PATCH] D67086: Implement syncstream (p0053)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 25 18:30:05 PDT 2019


zoecarver updated this revision to Diff 221876.
zoecarver added a comment.

Add `std::lock_guard`s to prevent races on the map. I ran with TSAN and got no warnings. I also increased the number of times I run the larger thread tests and now get no errors.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67086

Files:
  libcxx/include/iosfwd
  libcxx/include/syncstream
  libcxx/test/std/input.output/syncstream/osyncstream/assign.pass.cpp
  libcxx/test/std/input.output/syncstream/osyncstream/const.pass.cpp
  libcxx/test/std/input.output/syncstream/osyncstream/members.pass.cpp
  libcxx/test/std/input.output/syncstream/osyncstream/thread/basic.pass.cpp
  libcxx/test/std/input.output/syncstream/osyncstream/thread/several_threads.pass.cpp
  libcxx/test/std/input.output/syncstream/osyncstream/types.pass.cpp
  libcxx/test/std/input.output/syncstream/syncbuf/assign.pass.cpp
  libcxx/test/std/input.output/syncstream/syncbuf/cons.pass.cpp
  libcxx/test/std/input.output/syncstream/syncbuf/members.pass.cpp
  libcxx/test/std/input.output/syncstream/syncbuf/special.pass.cpp
  libcxx/test/std/input.output/syncstream/syncbuf/virtuals.pass.cpp
  libcxx/www/cxx2a_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67086.221876.patch
Type: text/x-patch
Size: 45448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190926/d6f94bd5/attachment-0001.bin>


More information about the libcxx-commits mailing list