Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4589)

Unified Diff: base/threading/thread_local_storage.h

Issue 8702014: Make ThreadLocalStorage more posix pthread compliant (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/threading/thread_local_storage.h
===================================================================
--- base/threading/thread_local_storage.h (revision 111815)
+++ base/threading/thread_local_storage.h (working copy)
@@ -77,16 +77,9 @@
// Function to lazily initialize our thread local storage.
static void **Initialize();
- private:
- // The maximum number of 'slots' in our thread local storage stack.
- // For now, this is fixed. We could either increase statically, or
- // we could make it dynamic in the future.
- static const int kThreadLocalStorageSize = 64;
-
static long tls_key_;
static long tls_max_;
- static TLSDestructorFunc tls_destructors_[kThreadLocalStorageSize];
-#endif // OS_WIN
+ #endif // OS_WIN
DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage);
};
« no previous file with comments | « no previous file | base/threading/thread_local_storage_unittest.cc » ('j') | base/threading/thread_local_storage_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698