DisposeThread

Deletes a thread.

Synopsis

int32 DisposeThread (Item threadItem)

Description

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.

Arguments

threadItem
Item of the thread to be deleted.

Return Value

Value
Error Condition
(A DeleteItem() item-dependent return value)
(Portfolio error code)
DeleteItem() failed
See "Error Messages" in the 3DO Portfolio Reference Manual for a listing of error messages returned by DeleteItem().

Associated Files

ThreadHelper.h

See Also

DeleteItem, NewTextSubscriber