with the calculation code implemented in
\helpref{wxThread::Entry}{wxthreadentry}. To access the inputs to the
calculation, the frame object would often to pass a pointer to itself to the
with the calculation code implemented in
\helpref{wxThread::Entry}{wxthreadentry}. To access the inputs to the
calculation, the frame object would often to pass a pointer to itself to the
thread object. Shared data and synchronization objects could be stored in
either object though the object without the data would have to access the
data through a pointer.
thread object. Shared data and synchronization objects could be stored in
either object though the object without the data would have to access the
data through a pointer.
\func{wxThreadError}{Create}{\param{unsigned int }{stackSize = 0}}
Creates a new thread. The thread object is created in the suspended state, and you
\func{wxThreadError}{Create}{\param{unsigned int }{stackSize = 0}}
Creates a new thread. The thread object is created in the suspended state, and you
it. You may optionally specify the stack size to be allocated to it (Ignored on
platforms that don't support setting it explicitly, eg. Unix).
it. You may optionally specify the stack size to be allocated to it (Ignored on
platforms that don't support setting it explicitly, eg. Unix).
This is a public function that returns the \helpref{wxThread}{wxthread} object
associated with the thread.
This is a public function that returns the \helpref{wxThread}{wxthread} object
associated with the thread.