Make ThreadLocal identifiers consistent
authorSean Cannella <seanc@fb.com>
Sat, 6 Dec 2014 01:14:52 +0000 (17:14 -0800)
committerDave Watson <davejwatson@fb.com>
Thu, 11 Dec 2014 16:01:03 +0000 (08:01 -0800)
commit2bda6641d6a803545b43af65228cb94fdbf32d78
tree3124e988d4a296a89426b8830a75f5b966e1b302
parent96e52d24ace80e19ce18114680a4a8cdc280158c
Make ThreadLocal identifiers consistent

Summary:
Implicitly bouncing between size_t and int for identifiers
causes problems when building on 64-bit iOS. Fix this.

Test Plan: fbmake runtests

Reviewed By: meyering@fb.com, njormrod@fb.com

Subscribers: trunkagent, njormrod, folly-diffs@, fma, kmdent, shikong, pgriess

FB internal diff: D1722061

Signature: t1:1722061:1417819039:8e3938cf8d4d241551ed3dd3978c1b11f57398c5
folly/ThreadLocal.h
folly/detail/ThreadLocalDetail.h