Index: src/platform-cygwin.cc |
diff --git a/src/platform-cygwin.cc b/src/platform-cygwin.cc |
index 03fb136e6d3945606c22b65ce82d63b6a018d681..4b450c18a6c0f009a71f5a75dff4a0782d2f7897 100644 |
--- a/src/platform-cygwin.cc |
+++ b/src/platform-cygwin.cc |
@@ -400,12 +400,18 @@ bool ThreadHandle::IsValid() const { |
} |
-Thread::Thread() : ThreadHandle(ThreadHandle::INVALID) { |
- set_name("v8:<unknown>"); |
+Thread::Thread(Isolate* isolate, const Options& options) |
+ : ThreadHandle(ThreadHandle::INVALID), |
+ isolate_(isolate), |
+ stack_size_(options.stack_size) { |
+ set_name(options.name); |
} |
-Thread::Thread(const char* name) : ThreadHandle(ThreadHandle::INVALID) { |
+Thread::Thread(Isolate* isolate, const char* name) |
+ : ThreadHandle(ThreadHandle::INVALID), |
+ isolate_(isolate), |
+ stack_size_(0) { |
set_name(name); |
} |