DeleteFiber (Windows CE 5.0)

Send Feedback

This function deletes an existing fiber.

VOID WINAPI DeleteFiber(LPVOID lpFiber);

Parameters

  • lpFiber
    [in] Specifies the address of the fiber to delete.

Return Values

None.

Remarks

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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Winbase.h.
Link Library: Coredll.lib.

See Also

ExitThread

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.