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

Unified Diff: src/platform-solaris.cc

Issue 7003108: "Deiceolate" Thread classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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
Index: src/platform-solaris.cc
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc
index 1a19bac3142e93af61eaea8a8e616a9f9afce267..2075869e5a83e90390e1de3a6c7ee1efba100001 100644
--- a/src/platform-solaris.cc
+++ b/src/platform-solaris.cc
@@ -380,7 +380,7 @@ class Thread::PlatformData : public Malloced {
pthread_t thread_; // Thread handle for pthread.
};
-Thread::Thread(Isolate* isolate, const Options& options)
+Thread::Thread(const Options& options)
: data_(new PlatformData()),
isolate_(isolate),
Vitaly Repeshko 2011/06/10 08:18:50 Won't compile.
mnaganov (inactive) 2011/06/10 09:31:32 Done.
stack_size_(options.stack_size) {
@@ -408,7 +408,6 @@ static void* ThreadEntry(void* arg) {
// one) so we initialize it here too.
thread->data()->thread_ = pthread_self();
ASSERT(thread->data()->thread_ != kNoThread);
- Thread::SetThreadLocal(Isolate::isolate_key(), thread->isolate());
thread->Run();
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698