X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/13d068d93e1e2bef0cb86225feb9355b4f6b4da9..3d96d41115ed3b0d634990e26f05d7e250e66af5:/include/wx/thread.h diff --git a/include/wx/thread.h b/include/wx/thread.h index 7e575b2f1e..f80aa89bf5 100644 --- a/include/wx/thread.h +++ b/include/wx/thread.h @@ -303,8 +303,11 @@ public: // from _another_ thread (typically the thread that created this one, e.g. // the main thread), not from the thread itself - // create a new thread - call Run() to start it - wxThreadError Create(); + // create a new thread and optionally set the stack size on + // platforms that support that - call Run() to start it + // (special cased for watcom which won't accept 0 default) + + wxThreadError Create(unsigned int stackSize = 0); // starts execution of the thread - from the moment Run() is called // the execution of wxThread::Entry() may start at any moment, caller @@ -525,3 +528,5 @@ public: #endif // wxUSE_THREADS #endif // __THREADH__ + +// vi:sts=4:sw=4:et