commit | 6a6e657234868ad4044b03bdeb9c6f7e872b5ee6 | [log] [tgz] |
---|---|---|
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Aug 20 22:54:52 2008 |
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Aug 20 22:54:52 2008 |
tree | 36d9855863e1cf5615b62623b2347ec494447cdb | |
parent | 15e8abe105f4c2a08cd5dc51e95ec1791ac440f2 [diff] |
TrackedObjects assumes you can use a "TLS slot" of -1 to indicate uninitialized. This isn't true for the pthread_key_t type, which is unsigned on Linux and reportedly a struct on Macs. This change modifies the Slot type to be a struct containing an "initialized" flag. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1122 0039d316-1c4b-4281-b951-d872f2087c98