struct CreatedThreadDeleter
Defined at line 77 of file ../../sdk/lib/c/pthread/../threads/thread.h
The CreatedThread object owns a Thread object and the kernel thread created
with it by ThreadCreate, along with its place on the gAllThreads list. All
those get cleaned up together if the CreatedThread dies before it's consumed
by a successful ThreadStart, transferring ownership to the running thread.
Public Methods
void operator() (Thread * )
This gets called when a CreatedThread dies without successful ThreadStart().
Just closing the thread handle destroys the kernel thread object, since it
was never started. The ThreadStorage is recovered and immediately destroyed
to deallocate the stacks and thread block.
Defined at line 318 of file ../../sdk/lib/c/threads/thread-start.cc