implemented IsThreadAFiber()
[reactos.git] / reactos / lib / kernel32 / thread / fiber.c
index aefd2d4..10881d3 100644 (file)
@@ -235,6 +235,17 @@ DeleteFiber(LPVOID lpFiber)
                         MEM_RELEASE);
 }
 
+/*
+ * @implemented
+ */
+BOOL
+WINAPI
+IsThreadAFiber(VOID)
+{
+    return NtCurrentTeb()->HasFiberData;
+}
+
+
 __declspec(noreturn)
 VOID
 WINAPI