Export (0) Print
Expand All
Expand Minimize

ConvertFiberToThread function

Converts the current fiber into a thread.

Syntax


BOOL WINAPI ConvertFiberToThread(void);

Parameters

This function has no parameters.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

The function releases the resources allocated by the ConvertThreadToFiber function. After calling this function, you cannot call any of the fiber functions from the thread.

To compile an application that uses this function, define _WIN32_WINNT as 0x0400 or later. For more information, see Using the Windows Headers.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinBase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

ConvertThreadToFiber
Fibers
Process and Thread Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft