Compartilhar via


DeleteFiber

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function deletes an existing fiber.

Syntax

VOID WINAPI DeleteFiber(
  LPVOID lpFiber
);

Parameters

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

Return Value

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

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

See Also

Reference

Fiber Functions
ExitThread