Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IsThreadAFiber function

Determines whether the current thread is a fiber.

Syntax


BOOL WINAPI IsThreadAFiber(void);

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]

Header

WinBase.h on Windows Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2 (include Windows.h);
Fibersapi.h on Windows 8 and Windows Server 2012

Library

Kernel32.lib

DLL

Kernel32.dll

See also

ConvertThreadToFiber
ConvertThreadToFiberEx
Fibers
Process and Thread Functions

 

 

Show: