IsThreadAFiber function (fibersapi.h)

Determines whether the current thread is a fiber.

Syntax

BOOL IsThreadAFiber();

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

Requirement Value
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