Throw custom exception type when ABD fails a result because some other token did...
authorAmeya Limaye <ameyal@fb.com>
Wed, 8 Feb 2017 19:23:24 +0000 (11:23 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 8 Feb 2017 19:36:05 +0000 (11:36 -0800)
commitbcbc4ff50e1949a01a102faf90f33b4f5dbe3263
treeb8a06a37d5159ba0a79b94340d393c57fa5977f5
parent0e4a41d08b742f799c7a2ea8224bbd87c214b715
Throw custom exception type when ABD fails a result because some other token did not call dispatch

Summary:
Throw custom exception type when ABD fails a result because some other token did not call dispatch:
- This is useful because the caller can catch this exception and discard it if they find some other exception
- The custom exception does not give an indication of the problem. The other exception/s thrown will do that.

Reviewed By: yfeldblum

Differential Revision: D4395742

fbshipit-source-id: be80f66b1297e9faf625a2fb087590a7d0a9335d
folly/Makefile.am
folly/fibers/AtomicBatchDispatcher-inl.h
folly/fibers/AtomicBatchDispatcher.h
folly/fibers/detail/AtomicBatchDispatcher.cpp [new file with mode: 0644]
folly/fibers/detail/AtomicBatchDispatcher.h [new file with mode: 0644]
folly/fibers/test/FibersTest.cpp