IsThreadAFiber function

Determines whether the current thread is a fiber.

Syntax

BOOL IsThreadAFiber(

);

Parameters

This function has no parameters.

Return Value

The function returns TRUE if the thread is a fiber and FALSE otherwise.

Remarks

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

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header fibersapi.h
Library Kernel32.lib
DLL Kernel32.dll

See Also

ConvertThreadToFiber

ConvertThreadToFiberEx

Fibers

Process and Thread Functions