Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c008984a
Commit
c008984a
authored
Jan 24, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Jan 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Implement IsThreadAFiber function.
parent
a9353a1c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
fiber.c
dlls/kernel32/fiber.c
+8
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-0
fiber.c
dlls/kernel32/tests/fiber.c
+1
-1
No files found.
dlls/kernel32/fiber.c
View file @
c008984a
...
...
@@ -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
;
}
dlls/kernel32/kernel32.spec
View file @
c008984a
...
...
@@ -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)
...
...
dlls/kernel32/tests/fiber.c
View file @
c008984a
...
...
@@ -146,7 +146,7 @@ static void test_FiberHandling(void)
if
(
!
pIsThreadAFiber
)
{
skip
(
"IsThreadAFiber not present
\n
"
);
win_
skip
(
"IsThreadAFiber not present
\n
"
);
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment