Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > status |
![]() ![]() ![]() |
status
Syntax
whichThread
.status
Description
Multiuser Server server-side function; returns a symbol indicating the current status of the given thread. The possible status
values are as follows:
Symbol |
Definition |
---|---|
|
Thread is awaiting a value from another thread. See produceValue(). |
|
Thread is stopped at a breakpoint. See setBreakPoint(). |
|
Thread has executed a call() command. See call(). |
|
An error has occurred in the thread. |
|
Thread is locked. See lock(). |
|
Thread has produced a value and no other thread has called awaitValue(). See awaitValue() and produceValue(). |
|
Thread has resumed from waiting. See resume(). |
|
Thread is running. |
|
Thread is sleeping. See sleep(). |
|
Thread is stepping through script instructions, including handler calls. See stepInto(). |
|
Thread is stepping through script instructions, excluding handler calls. See stepOver(). |
Example
This statement sets the variable theStatus
to the current status of the thread testThread
:
theStatus = testThread.status
See also
sleep()
, resume()
, lock()
, call()
, produceValue()
, setBreakPoint()
, stepInto()
, stepOver()
![]() ![]() ![]() |