Chromium Code Reviews| Index: ppapi/utility/threading/simple_thread.h |
| =================================================================== |
| --- ppapi/utility/threading/simple_thread.h (revision 182510) |
| +++ ppapi/utility/threading/simple_thread.h (working copy) |
| @@ -29,6 +29,7 @@ |
| typedef void (*ThreadFunc)(MessageLoop&, void* user_data); |
| explicit SimpleThread(const InstanceHandle& instance); |
| + explicit SimpleThread(const InstanceHandle& instance, const size_t stacksize); |
|
brettw
2013/02/16 04:19:40
I'd remove "const" for the argument here.
nfullagar1
2013/02/19 18:59:10
Done.
|
| ~SimpleThread(); |
| // Starts a thread and runs a message loop in it. If you need control over |
| @@ -52,11 +53,12 @@ |
| private: |
| InstanceHandle instance_; |
| MessageLoop message_loop_; |
| - |
| + const size_t stacksize_; |
| ThreadHandle thread_; |
| // Disallow (not implemented). |
| SimpleThread(const SimpleThread&); |
| + SimpleThread(const SimpleThread&, const size_t stacksize); |
|
brettw
2013/02/16 04:19:40
I'm remove "const" for the argument here.
nfullagar1
2013/02/19 18:59:10
Done.
|
| SimpleThread& operator=(const SimpleThread&); |
| }; |