RCU
authorDave Watson <davejwatson@fb.com>
Wed, 13 Dec 2017 16:13:20 +0000 (08:13 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 13 Dec 2017 16:21:09 +0000 (08:21 -0800)
commitf885995c00a27e0e440c0e5cb66ec3298fc507d4
treed81f3e53af8baf8bf3b62b037adfc7671d4ce6ec
parent6283c759b82a2a5764ef77c025aee1d40a77a839
RCU

Summary: This adds an RCU implementation, matching http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0461r1.pdf as closely as pratical.  This implementation does not require thread registration or quiescence.

Reviewed By: magedm

Differential Revision: D6330631

fbshipit-source-id: 2c729f3a4c0f151cde5d9a599ecd2a2c20c7da55
folly/synchronization/Rcu-inl.h [new file with mode: 0644]
folly/synchronization/Rcu.cpp [new file with mode: 0644]
folly/synchronization/Rcu.h [new file with mode: 0644]
folly/synchronization/detail/ThreadCachedInts.h [new file with mode: 0644]
folly/synchronization/detail/ThreadCachedLists.h [new file with mode: 0644]
folly/synchronization/test/RcuTest.cpp [new file with mode: 0644]