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

Unified Diff: dart/runtime/platform/thread_win.h

Issue 298153002: Version 1.4.1 (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.4/
Patch Set: Created 6 years, 7 months 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
« no previous file with comments | « dart/runtime/platform/thread_macos.cc ('k') | dart/runtime/platform/thread_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/platform/thread_win.h
===================================================================
--- dart/runtime/platform/thread_win.h (revision 36615)
+++ dart/runtime/platform/thread_win.h (working copy)
@@ -15,7 +15,7 @@
namespace dart {
typedef DWORD ThreadLocalKey;
-typedef HANDLE ThreadId;
+typedef DWORD ThreadId;
class ThreadInlineImpl {
@@ -23,9 +23,6 @@
ThreadInlineImpl() {}
~ThreadInlineImpl() {}
- static ThreadLocalKey thread_id_key;
- static ThreadId CreateThreadId();
- static void DestroyThreadId(ThreadId);
static uword GetThreadLocal(ThreadLocalKey key) {
static ThreadLocalKey kUnsetThreadLocalKey = TLS_OUT_OF_INDEXES;
ASSERT(key != kUnsetThreadLocalKey);
@@ -33,7 +30,6 @@
}
friend class Thread;
- friend class OS;
friend unsigned int __stdcall ThreadEntry(void* data_ptr);
DISALLOW_ALLOCATION();
« no previous file with comments | « dart/runtime/platform/thread_macos.cc ('k') | dart/runtime/platform/thread_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698