Test for folly::SingletonThreadLocal
authorPhil Willoughby <philwill@fb.com>
Wed, 14 Sep 2016 08:53:09 +0000 (01:53 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 14 Sep 2016 09:08:30 +0000 (02:08 -0700)
commit953890fe4471c0b34e0f6b24b8c7ebaed7d7ed87
tree63595050b6e3347d4934e2b8e21726259d575217
parent8340844ea5677fbf01b64ec4423dfe24fa567d53
Test for folly::SingletonThreadLocal

Summary: Validates that we create a distinct singleton for each thread and that each such singleton is destroyed at its owning-thread's exit.

Reviewed By: yfeldblum

Differential Revision: D3849146

fbshipit-source-id: af878b32ecfc6c82b866d7a805e1385d74a8a5f5
folly/test/Makefile.am
folly/test/SingletonThreadLocalTest.cpp [new file with mode: 0644]