DeleteFiber
The DeleteFiber
function deletes an existing fiber.
VOID DeleteFiber(
LPVOID lpFiber |
// pointer to the
fiber to delete |
); |
|
Parameters
lpFiber
Specifies the
address of the fiber to delete.
Return Values
This function
does not return a value.
Remarks
The DeleteFiber
function deletes all data associated with the fiber. This data includes the
stack, a subset of the registers, and the fiber data. If the currently running
fiber calls DeleteFiber, the ExitThread function is called and
the thread terminates. If the currently running fiber is deleted by another
thread, the thread associated with the fiber is likely to terminate abnormally
because the fiber stack has been freed.
See Also