Index: src/platform-openbsd.cc |
=================================================================== |
--- src/platform-openbsd.cc (revision 10413) |
+++ src/platform-openbsd.cc (working copy) |
@@ -512,11 +512,18 @@ |
Thread::Thread(const Options& options) |
: data_(new PlatformData()), |
- stack_size_(options.stack_size()) { |
- set_name(options.name()); |
+ stack_size_(options.stack_size) { |
+ set_name(options.name); |
} |
+Thread::Thread(const char* name) |
+ : data_(new PlatformData()), |
+ stack_size_(0) { |
+ set_name(name); |
+} |
+ |
+ |
Thread::~Thread() { |
delete data_; |
} |
@@ -782,10 +789,8 @@ |
FULL_INTERVAL |
}; |
- static const int kSignalSenderStackSize = 32 * KB; |
- |
explicit SignalSender(int interval) |
- : Thread(Thread::Options("SignalSender", kSignalSenderStackSize)), |
+ : Thread("SignalSender"), |
vm_tgid_(getpid()), |
interval_(interval) {} |