Index: src/platform-nullos.cc |
diff --git a/src/platform-nullos.cc b/src/platform-nullos.cc |
index 3608b6b8af9d865cd329f95f93d1370047f4565b..5409936f4011b393ef2f2fd8cfd084a11037c07f 100644 |
--- a/src/platform-nullos.cc |
+++ b/src/platform-nullos.cc |
@@ -340,17 +340,19 @@ bool ThreadHandle::IsValid() const { |
} |
-Thread::Thread(Isolate* isolate) |
+Thread::Thread(Isolate* isolate, const Options& options) |
: ThreadHandle(ThreadHandle::INVALID), |
- isolate_(isolate) { |
- set_name("v8:<unknown>"); |
+ isolate_(isolate), |
+ stack_size_(options.stack_size) { |
+ set_name(options.name); |
UNIMPLEMENTED(); |
} |
Thread::Thread(Isolate* isolate, const char* name) |
: ThreadHandle(ThreadHandle::INVALID), |
- isolate_(isolate) { |
+ isolate_(isolate), |
+ stack_size_(0) { |
set_name(name); |
UNIMPLEMENTED(); |
} |