DeleteFiber function (winbase.h)
Deletes an existing fiber.
void DeleteFiber( [in] LPVOID lpFiber );
The address of the fiber to be deleted.
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, its thread calls ExitThread and terminates. However, if a currently running fiber is deleted by another fiber, the thread running the deleted fiber is likely to terminate abnormally because the fiber stack has been freed.
To compile an application that uses this function, define _WIN32_WINNT as 0x0400 or later. For more information, see Using the Windows Headers.
For an example, see Using Fibers.
|Minimum supported client||Windows XP [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2003 [desktop apps | UWP apps]|
|Header||winbase.h (include Windows.h)|