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
db9fc914
Commit
db9fc914
authored
Jul 01, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jul 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Implement TpSimpleTryPost and basic threadpool infrastructure.
parent
b6cf2653
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
ntdll.spec
dlls/ntdll/ntdll.spec
+3
-0
threadpool.c
dlls/ntdll/tests/threadpool.c
+2
-1
threadpool.c
dlls/ntdll/threadpool.c
+0
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
db9fc914
...
@@ -970,6 +970,9 @@
...
@@ -970,6 +970,9 @@
@ stdcall RtlxOemStringToUnicodeSize(ptr) RtlOemStringToUnicodeSize
@ stdcall RtlxOemStringToUnicodeSize(ptr) RtlOemStringToUnicodeSize
@ stdcall RtlxUnicodeStringToAnsiSize(ptr) RtlUnicodeStringToAnsiSize
@ stdcall RtlxUnicodeStringToAnsiSize(ptr) RtlUnicodeStringToAnsiSize
@ stdcall RtlxUnicodeStringToOemSize(ptr) RtlUnicodeStringToOemSize
@ stdcall RtlxUnicodeStringToOemSize(ptr) RtlUnicodeStringToOemSize
@ stdcall TpAllocPool(ptr ptr)
@ stdcall TpReleasePool(ptr)
@ stdcall TpSimpleTryPost(ptr ptr ptr)
@ stdcall -ret64 VerSetConditionMask(int64 long long)
@ stdcall -ret64 VerSetConditionMask(int64 long long)
@ stdcall WinSqmIsOptedIn()
@ stdcall WinSqmIsOptedIn()
@ stdcall ZwAcceptConnectPort(ptr long ptr long long ptr) NtAcceptConnectPort
@ stdcall ZwAcceptConnectPort(ptr long ptr long long ptr) NtAcceptConnectPort
...
...
dlls/ntdll/tests/threadpool.c
View file @
db9fc914
...
@@ -48,7 +48,7 @@ static BOOL init_threadpool(void)
...
@@ -48,7 +48,7 @@ static BOOL init_threadpool(void)
if
(
!
pTpAllocPool
)
if
(
!
pTpAllocPool
)
{
{
skip
(
"Threadpool functions not supported, skipping tests
\n
"
);
win_
skip
(
"Threadpool functions not supported, skipping tests
\n
"
);
return
FALSE
;
return
FALSE
;
}
}
...
@@ -105,6 +105,7 @@ static void test_tp_simple(void)
...
@@ -105,6 +105,7 @@ static void test_tp_simple(void)
environment
.
Version
=
9999
;
environment
.
Version
=
9999
;
environment
.
Pool
=
pool
;
environment
.
Pool
=
pool
;
status
=
pTpSimpleTryPost
(
simple_cb
,
semaphore
,
&
environment
);
status
=
pTpSimpleTryPost
(
simple_cb
,
semaphore
,
&
environment
);
todo_wine
ok
(
status
==
STATUS_INVALID_PARAMETER
||
broken
(
!
status
)
/* Vista/2008 */
,
ok
(
status
==
STATUS_INVALID_PARAMETER
||
broken
(
!
status
)
/* Vista/2008 */
,
"TpSimpleTryPost unexpectedly returned status %x
\n
"
,
status
);
"TpSimpleTryPost unexpectedly returned status %x
\n
"
,
status
);
if
(
!
status
)
if
(
!
status
)
...
...
dlls/ntdll/threadpool.c
View file @
db9fc914
This diff is collapsed.
Click to expand it.
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