DeleteFiber
A version of this page is also available for
4/8/2010
This function deletes an existing fiber.
VOID WINAPI DeleteFiber(
LPVOID lpFiber
);
- lpFiber
[in] Specifies the address of the fiber to delete.
None.
This function deletes all data associated with the fiber, including the following:
- The stack
- A subset of the registers
- 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.
Header | winbase.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |