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
4de75b5a
Commit
4de75b5a
authored
Aug 02, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the new RtlExitUserThread function instead of exporting
wine_server_exit_thread.
parent
0a93f42b
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
10 deletions
+16
-10
thread.c
dlls/kernel/thread.c
+1
-5
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-2
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+1
-0
server.c
dlls/ntdll/server.c
+2
-2
thread.c
dlls/ntdll/thread.c
+10
-0
server.h
include/wine/server.h
+0
-1
winternl.h
include/winternl.h
+1
-0
No files found.
dlls/kernel/thread.c
View file @
4de75b5a
...
...
@@ -248,11 +248,7 @@ void WINAPI ExitThread( DWORD code ) /* [in] Exit code for this thread */
LdrShutdownProcess
();
exit
(
code
);
}
else
{
LdrShutdownThread
();
wine_server_exit_thread
(
code
);
}
else
RtlExitUserThread
(
code
);
}
...
...
dlls/ntdll/ntdll.spec
View file @
4de75b5a
...
...
@@ -568,7 +568,7 @@
@ stdcall RtlEqualString(ptr ptr long)
@ stdcall RtlEqualUnicodeString(ptr ptr long)
@ stdcall RtlEraseUnicodeString(ptr)
# @ stub RtlExitUserThread
@ stdcall RtlExitUserThread(long)
@ stdcall RtlExpandEnvironmentStrings_U(ptr ptr ptr ptr)
@ stub RtlExtendHeap
@ stdcall -ret64 RtlExtendedIntegerMultiply(long long long)
...
...
@@ -1384,7 +1384,6 @@
@ cdecl wine_server_handle_to_fd(long long ptr ptr)
@ cdecl wine_server_release_fd(long long)
@ cdecl wine_server_send_fd(long)
@ cdecl wine_server_exit_thread(long)
# Codepages
@ cdecl __wine_init_codepages(ptr ptr ptr)
...
...
dlls/ntdll/ntdll_misc.h
View file @
4de75b5a
...
...
@@ -59,6 +59,7 @@ extern void server_init_process(void);
extern
size_t
server_init_thread
(
int
unix_pid
,
int
unix_tid
,
void
*
entry_point
);
extern
void
DECLSPEC_NORETURN
server_protocol_error
(
const
char
*
err
,
...
);
extern
void
DECLSPEC_NORETURN
server_protocol_perror
(
const
char
*
err
);
extern
void
DECLSPEC_NORETURN
server_exit_thread
(
int
status
);
extern
void
DECLSPEC_NORETURN
server_abort_thread
(
int
status
);
/* module handling */
...
...
dlls/ntdll/server.c
View file @
4de75b5a
...
...
@@ -119,9 +119,9 @@ static void fatal_perror( const char *err, ... )
/***********************************************************************
*
wine_server_exit_thread (NTDLL.@)
*
server_exit_thread
*/
void
wine_
server_exit_thread
(
int
status
)
void
server_exit_thread
(
int
status
)
{
struct
wine_pthread_thread_info
info
;
ULONG
size
;
...
...
dlls/ntdll/thread.c
View file @
4de75b5a
...
...
@@ -344,6 +344,16 @@ error:
/***********************************************************************
* RtlExitUserThread (NTDLL.@)
*/
void
WINAPI
RtlExitUserThread
(
ULONG
status
)
{
LdrShutdownThread
();
server_exit_thread
(
status
);
}
/***********************************************************************
* NtOpenThread (NTDLL.@)
* ZwOpenThread (NTDLL.@)
*/
...
...
include/wine/server.h
View file @
4de75b5a
...
...
@@ -54,7 +54,6 @@ extern void wine_server_send_fd( int fd );
extern
int
wine_server_fd_to_handle
(
int
fd
,
unsigned
int
access
,
int
inherit
,
obj_handle_t
*
handle
);
extern
int
wine_server_handle_to_fd
(
obj_handle_t
handle
,
unsigned
int
access
,
int
*
unix_fd
,
int
*
flags
);
extern
void
wine_server_release_fd
(
obj_handle_t
handle
,
int
unix_fd
);
extern
void
DECLSPEC_NORETURN
wine_server_exit_thread
(
int
status
);
/* do a server call and set the last error code */
inline
static
unsigned
int
wine_server_call_err
(
void
*
req_ptr
)
...
...
include/winternl.h
View file @
4de75b5a
...
...
@@ -1985,6 +1985,7 @@ BOOL WINAPI RtlEqualPrefixSid(PSID,PSID);
BOOL
WINAPI
RtlEqualSid
(
PSID
,
PSID
);
BOOLEAN
WINAPI
RtlEqualString
(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
BOOLEAN
WINAPI
RtlEqualUnicodeString
(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
void
WINAPI
RtlExitUserThread
(
ULONG
)
DECLSPEC_NORETURN
;
NTSTATUS
WINAPI
RtlExpandEnvironmentStrings_U
(
PWSTR
,
const
UNICODE_STRING
*
,
UNICODE_STRING
*
,
ULONG
*
);
LONGLONG
WINAPI
RtlExtendedMagicDivide
(
LONGLONG
,
LONGLONG
,
INT
);
LONGLONG
WINAPI
RtlExtendedIntegerMultiply
(
LONGLONG
,
INT
);
...
...
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