Index: src/platform-solaris.cc |
=================================================================== |
--- src/platform-solaris.cc (revision 10489) |
+++ src/platform-solaris.cc (working copy) |
@@ -453,20 +453,14 @@ |
pthread_t thread_; // Thread handle for pthread. |
}; |
+ |
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_; |
} |
@@ -710,8 +704,10 @@ |
FULL_INTERVAL |
}; |
+ static const int kSignalSenderStackSize = 32 * KB; |
+ |
explicit SignalSender(int interval) |
- : Thread("SignalSender"), |
+ : Thread(Thread::Options("SignalSender", kSignalSenderStackSize)), |
interval_(interval) {} |
static void InstallSignalHandler() { |