Thread::stack
Push work onto the stack for execution by the referenced Thread
&reftitle.description;
final public intThread::stack
Objectwork
Pushing work onto the stack of an executing Thread automatically turns that Thread into a Worker.
A Worker Thread will automatically pop work off the stack and execute the items run method.
A Worker Thread is available until a call to Thread::join is recieved.
The return value of the run method of an executed item is ignored, until the last execution on the stack.
The last item on the stack has the return value of run available to the caller of Thread::join on the Worker Thread.
&reftitle.parameters;
work
An item of the same type as the referenced Thread
&reftitle.returnvalues;
The size of stack after work was added.