Use a normal variable if thread local is not available.
authorMichael Lee <mzlee@fb.com>
Wed, 31 Aug 2016 02:29:59 +0000 (19:29 -0700)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Wed, 31 Aug 2016 02:38:43 +0000 (19:38 -0700)
commite081efcade6da7cad61741a1d2f856bd7d686995
tree871652bdae59c53a66b2f348e06268b470fc4c92
parent9b75144718da8f899feb46bb8236d0538de483dd
Use a normal variable if thread local is not available.

Summary: This should not affect correctness, but it means SharedMutex would need to share the variable across threads.

Reviewed By: yfeldblum

Differential Revision: D3621227

fbshipit-source-id: dc1baa7c47cd2d459cd0ef89451bcd7fd4d553aa
folly/SharedMutex.h