class TaskState
Defined at line 1038 of file ../../zircon/kernel/include/kernel/thread.h
TaskState is responsible for running the task defined by
|entry(arg)|, and reporting its value to any joining threads.
TODO: the detached state in Thread::flags_ probably belongs here.
Public Methods
void Init (thread_start_routine entry, void * arg)
Defined at line 250 of file ../../zircon/kernel/kernel/thread.cc
zx_status_t Join (Thread * current_thread, zx_instant_mono_t deadline)
Defined at line 255 of file ../../zircon/kernel/kernel/thread.cc
bool TryWakeJoiners (zx_status_t status)
Attempt to wake all of our joiners. This operation might fail because of a
conflict while attempting to obtain the required locks, in which case the
caller needs to back off (drop all currently held chain locks) and try
again..
Defined at line 259 of file ../../zircon/kernel/kernel/thread.cc
void TaskState ()
Defined at line 1040 of file ../../zircon/kernel/include/kernel/thread.h
thread_start_routine entry ()
Defined at line 1054 of file ../../zircon/kernel/include/kernel/thread.h
void * arg ()
Defined at line 1055 of file ../../zircon/kernel/include/kernel/thread.h
int retcode ()
Defined at line 1057 of file ../../zircon/kernel/include/kernel/thread.h
void set_retcode (int retcode)
Defined at line 1058 of file ../../zircon/kernel/include/kernel/thread.h
ChainLock & get_lock ()
Defined at line 1060 of file ../../zircon/kernel/include/kernel/thread.h
Friends
class ThreadDumper