次の方法で共有


DeleteFiber (Compact 2013)

3/28/2014

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

See Also

Reference

Fiber Functions
ExitThread