Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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 only]

Minimum supported server

Windows Server 2008 [desktop apps only]

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft