Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a54d9728
Commit
a54d9728
authored
Jul 03, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jul 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Forward threadpool cleanup group functions to ntdll.
parent
9f71015a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
3 deletions
+29
-3
kernel32.spec
dlls/kernel32/kernel32.spec
+3
-3
thread.c
dlls/kernel32/thread.c
+20
-0
winternl.h
include/winternl.h
+6
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
a54d9728
...
...
@@ -229,8 +229,8 @@
@ stdcall CloseProfileUserMapping()
@ stub CloseSystemHandle
# @ stub CloseThreadpool
# @ stub CloseThreadpool
CleanupGroup
# @ stub CloseThreadpool
CleanupGroupMembers
@ stdcall CloseThreadpoolCleanupGroup(ptr) ntdll.TpRelease
CleanupGroup
@ stdcall CloseThreadpoolCleanupGroupMembers(ptr long ptr) ntdll.TpRelease
CleanupGroupMembers
# @ stub CloseThreadpoolIo
# @ stub CloseThreadpoolTimer
# @ stub CloseThreadpoolWait
...
...
@@ -332,7 +332,7 @@
@ stdcall CreateTapePartition(long long long long)
@ stdcall CreateThread(ptr long ptr long long ptr)
# @ stub CreateThreadpool
# @ stub CreateThreadpoolCleanupGroup
@ stdcall CreateThreadpoolCleanupGroup()
# @ stub CreateThreadpoolIo
# @ stub CreateThreadpoolTimer
# @ stub CreateThreadpoolWait
...
...
dlls/kernel32/thread.c
View file @
a54d9728
...
...
@@ -860,3 +860,23 @@ BOOL WINAPI GetThreadPreferredUILanguages( DWORD flags, PULONG count, PCZZWSTR b
*
buffersize
=
0
;
return
TRUE
;
}
/***********************************************************************
* CreateThreadpoolCleanupGroup (KERNEL32.@)
*/
PTP_CLEANUP_GROUP
WINAPI
CreateThreadpoolCleanupGroup
(
void
)
{
TP_CLEANUP_GROUP
*
group
;
NTSTATUS
status
;
TRACE
(
"
\n
"
);
status
=
TpAllocCleanupGroup
(
&
group
);
if
(
status
)
{
SetLastError
(
RtlNtStatusToDosError
(
status
)
);
return
NULL
;
}
return
group
;
}
include/winternl.h
View file @
a54d9728
...
...
@@ -2616,6 +2616,12 @@ NTSYSAPI LONGLONG WINAPI RtlLargeIntegerSubtract(LONGLONG,LONGLONG);
NTSYSAPI
NTSTATUS
WINAPI
RtlLargeIntegerToChar
(
const
ULONGLONG
*
,
ULONG
,
ULONG
,
PCHAR
);
#endif
/* Threadpool functions */
NTSYSAPI
NTSTATUS
WINAPI
TpAllocCleanupGroup
(
TP_CLEANUP_GROUP
**
);
NTSYSAPI
void
WINAPI
TpReleaseCleanupGroup
(
TP_CLEANUP_GROUP
*
);
NTSYSAPI
void
WINAPI
TpReleaseCleanupGroupMembers
(
TP_CLEANUP_GROUP
*
,
BOOL
,
PVOID
);
/* Wine internal functions */
NTSYSAPI
NTSTATUS
CDECL
wine_nt_to_unix_file_name
(
const
UNICODE_STRING
*
nameW
,
ANSI_STRING
*
unix_name_ret
,
...
...
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