class TaskState
Defined at line 1033 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 247 of file ../../zircon/kernel/kernel/thread.cc
zx_status_t Join (Thread * current_thread, zx_instant_mono_t deadline)
Defined at line 252 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 256 of file ../../zircon/kernel/kernel/thread.cc
void TaskState ()
Defined at line 1035 of file ../../zircon/kernel/include/kernel/thread.h
thread_start_routine entry ()
Defined at line 1049 of file ../../zircon/kernel/include/kernel/thread.h
void * arg ()
Defined at line 1050 of file ../../zircon/kernel/include/kernel/thread.h
int retcode ()
Defined at line 1052 of file ../../zircon/kernel/include/kernel/thread.h
void set_retcode (int retcode)
Defined at line 1053 of file ../../zircon/kernel/include/kernel/thread.h
ChainLock & get_lock ()
Defined at line 1055 of file ../../zircon/kernel/include/kernel/thread.h
Friends
class ThreadDumper