Deletes a thread.
int32 DisposeThread (Item threadItem)
Deletes the thread specified by the thread item. DisposeThread()
calls DeleteItem()
directly to delete the thread. DeleteItem()
kills the process of the thread and deallocates the stack memory assigned to it.
threadItem
Item of the thread to be deleted.
(A DeleteItem()
item-dependent return value)
DeleteItem()
failed
See “Error Messages” in the 3DO Portfolio Reference Manual for a listing of error messages returned by DeleteItem()
.
ThreadHelper.h
DeleteItem, NewTextSubscriber