Chromium Code Reviews| Index: runtime/platform/thread.h |
| diff --git a/runtime/platform/thread.h b/runtime/platform/thread.h |
| index 603949e9ca7f3570dd03d2d98eb74659a2184584..7a5186e848d3aa1abbb20709501e50f9bf8bdf38 100644 |
| --- a/runtime/platform/thread.h |
| +++ b/runtime/platform/thread.h |
| @@ -28,6 +28,12 @@ class Thread { |
| // thread started successfuly and a system specific error code if |
| // the thread failed to start. |
| static int Start(ThreadStartFunction function, uword parameters); |
| + |
| + static ThreadLocalKey kInvalidThreadLocal; |
|
siva
2012/02/06 19:29:37
data field is clubbed in with functions, shouldn't
Søren Gjesse
2012/02/07 09:13:59
Moved field and changed name to kUnsetThreadlocalK
|
| + static ThreadLocalKey CreateThreadLocal(); |
| + static void DeleteThreadLocal(ThreadLocalKey key); |
| + static uword GetThreadLocal(ThreadLocalKey key); |
| + static void SetThreadLocal(ThreadLocalKey key, uword value); |
| }; |