Commit c008984a authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

kernel32: Implement IsThreadAFiber function.

parent a9353a1c
......@@ -304,3 +304,11 @@ BOOL WINAPI FlsSetValue( DWORD index, PVOID data )
NtCurrentTeb()->FlsSlots[index] = data;
return TRUE;
}
/***********************************************************************
* IsThreadAFiber (KERNEL32.@)
*/
BOOL WINAPI IsThreadAFiber(void)
{
return NtCurrentTeb()->Tib.u.FiberData != NULL;
}
......@@ -749,6 +749,7 @@
@ stdcall IsProcessorFeaturePresent(long)
@ stub -i386 IsSLCallback
@ stdcall IsSystemResumeAutomatic()
@ stdcall IsThreadAFiber()
@ stdcall IsValidCodePage(long)
@ stdcall IsValidLanguageGroup(long long)
@ stdcall IsValidLocale(long long)
......
......@@ -146,7 +146,7 @@ static void test_FiberHandling(void)
if (!pIsThreadAFiber)
{
skip( "IsThreadAFiber not present\n" );
win_skip( "IsThreadAFiber not present\n" );
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment