diff options
Diffstat (limited to 'base/thread.h')
-rw-r--r-- | base/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/thread.h b/base/thread.h index 5a51bec..4254168 100644 --- a/base/thread.h +++ b/base/thread.h @@ -29,6 +29,8 @@ class Thread : PlatformThread::Delegate { size_t stack_size; Options() : message_loop_type(MessageLoop::TYPE_DEFAULT), stack_size(0) {} + Options(MessageLoop::Type type, size_t size) + : message_loop_type(type), stack_size(size) {} }; // Constructor. |