mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
implemented IsThreadAFiber()
svn path=/trunk/; revision=17525
This commit is contained in:
parent
5c7747b97c
commit
8f881e2d04
2 changed files with 12 additions and 0 deletions
|
@ -586,6 +586,7 @@ IsDebuggerPresent@0
|
||||||
IsProcessInJob@12
|
IsProcessInJob@12
|
||||||
IsProcessorFeaturePresent@4
|
IsProcessorFeaturePresent@4
|
||||||
IsSystemResumeAutomatic@0
|
IsSystemResumeAutomatic@0
|
||||||
|
IsThreadAFiber@0
|
||||||
IsValidCodePage@4
|
IsValidCodePage@4
|
||||||
IsValidLanguageGroup@8
|
IsValidLanguageGroup@8
|
||||||
IsValidLocale@8
|
IsValidLocale@8
|
||||||
|
|
|
@ -235,6 +235,17 @@ DeleteFiber(LPVOID lpFiber)
|
||||||
MEM_RELEASE);
|
MEM_RELEASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
|
BOOL
|
||||||
|
WINAPI
|
||||||
|
IsThreadAFiber(VOID)
|
||||||
|
{
|
||||||
|
return NtCurrentTeb()->HasFiberData;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
__declspec(noreturn)
|
__declspec(noreturn)
|
||||||
VOID
|
VOID
|
||||||
WINAPI
|
WINAPI
|
||||||
|
|
Loading…
Reference in a new issue