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
101bb94a
Commit
101bb94a
authored
Nov 20, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Remove the signal_exit_thread wrapper.
parent
5ee1bf0a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
29 deletions
+5
-29
signal_arm.c
dlls/ntdll/unix/signal_arm.c
+0
-6
signal_arm64.c
dlls/ntdll/unix/signal_arm64.c
+0
-5
signal_i386.c
dlls/ntdll/unix/signal_i386.c
+0
-6
signal_x86_64.c
dlls/ntdll/unix/signal_x86_64.c
+0
-6
thread.c
dlls/ntdll/unix/thread.c
+4
-4
unix_private.h
dlls/ntdll/unix/unix_private.h
+1
-2
No files found.
dlls/ntdll/unix/signal_arm.c
View file @
101bb94a
...
...
@@ -1663,12 +1663,6 @@ __ASM_GLOBAL_FUNC( signal_start_thread,
/***********************************************************************
* signal_exit_thread
*/
__ASM_GLOBAL_FUNC
(
signal_exit_thread
,
"bx r1"
)
/***********************************************************************
* __wine_syscall_dispatcher
*/
__ASM_GLOBAL_FUNC
(
__wine_syscall_dispatcher
,
...
...
dlls/ntdll/unix/signal_arm64.c
View file @
101bb94a
...
...
@@ -1764,11 +1764,6 @@ __ASM_GLOBAL_FUNC( signal_start_thread,
"1:
\t
mov sp, x4
\n\t
"
"bl "
__ASM_NAME
(
"call_init_thunk"
)
)
/***********************************************************************
* signal_exit_thread
*/
__ASM_GLOBAL_FUNC
(
signal_exit_thread
,
"br x1"
)
/***********************************************************************
* __wine_syscall_dispatcher
...
...
dlls/ntdll/unix/signal_i386.c
View file @
101bb94a
...
...
@@ -2526,12 +2526,6 @@ __ASM_GLOBAL_FUNC( signal_start_thread,
/***********************************************************************
* signal_exit_thread
*/
__ASM_GLOBAL_FUNC
(
signal_exit_thread
,
"jmp *8(%esp)"
)
/***********************************************************************
* __wine_syscall_dispatcher
*/
__ASM_GLOBAL_FUNC
(
__wine_syscall_dispatcher
,
...
...
dlls/ntdll/unix/signal_x86_64.c
View file @
101bb94a
...
...
@@ -2573,12 +2573,6 @@ __ASM_GLOBAL_FUNC( signal_start_thread,
/***********************************************************************
* signal_exit_thread
*/
__ASM_GLOBAL_FUNC
(
signal_exit_thread
,
"jmp *%rsi"
)
/***********************************************************************
* __wine_syscall_dispatcher
*/
__ASM_GLOBAL_FUNC
(
__wine_syscall_dispatcher
,
...
...
dlls/ntdll/unix/thread.c
View file @
101bb94a
...
...
@@ -1078,7 +1078,7 @@ static void contexts_from_server( CONTEXT *context, context_t server_contexts[2]
/***********************************************************************
* pthread_exit_wrapper
*/
static
void
pthread_exit_wrapper
(
int
status
)
static
DECLSPEC_NORETURN
void
pthread_exit_wrapper
(
int
status
)
{
close
(
ntdll_get_thread_data
()
->
wait_fd
[
0
]
);
close
(
ntdll_get_thread_data
()
->
wait_fd
[
1
]
);
...
...
@@ -1404,7 +1404,7 @@ void abort_thread( int status )
{
pthread_sigmask
(
SIG_BLOCK
,
&
server_block_set
,
NULL
);
if
(
InterlockedDecrement
(
&
nb_threads
)
<=
0
)
abort_process
(
status
);
signal_exit_thread
(
status
,
pthread_exit_wrapper
,
NtCurrentTeb
()
);
pthread_exit_wrapper
(
status
);
}
...
...
@@ -1439,7 +1439,7 @@ static DECLSPEC_NORETURN void exit_thread( int status )
virtual_free_teb
(
teb
);
}
}
signal_exit_thread
(
status
,
pthread_exit_wrapper
,
NtCurrentTeb
()
);
pthread_exit_wrapper
(
status
);
}
...
...
@@ -1449,7 +1449,7 @@ static DECLSPEC_NORETURN void exit_thread( int status )
void
exit_process
(
int
status
)
{
pthread_sigmask
(
SIG_BLOCK
,
&
server_block_set
,
NULL
);
signal_exit_thread
(
get_unix_exit_code
(
status
),
process_exit_wrapper
,
NtCurrentTeb
()
);
process_exit_wrapper
(
get_unix_exit_code
(
status
)
);
}
...
...
dlls/ntdll/unix/unix_private.h
View file @
101bb94a
...
...
@@ -203,7 +203,7 @@ extern unsigned int server_queue_process_apc( HANDLE process, const apc_call_t *
extern
int
server_get_unix_fd
(
HANDLE
handle
,
unsigned
int
wanted_access
,
int
*
unix_fd
,
int
*
needs_close
,
enum
server_fd_type
*
type
,
unsigned
int
*
options
);
extern
void
wine_server_send_fd
(
int
fd
);
extern
void
process_exit_wrapper
(
int
status
);
extern
void
process_exit_wrapper
(
int
status
)
DECLSPEC_NORETURN
;
extern
size_t
server_init_process
(
void
);
extern
void
server_init_process_done
(
void
);
extern
void
server_init_thread
(
void
*
entry_point
,
BOOL
*
suspend
);
...
...
@@ -276,7 +276,6 @@ extern void signal_free_thread( TEB *teb );
extern
void
signal_init_process
(
void
);
extern
void
DECLSPEC_NORETURN
signal_start_thread
(
PRTL_THREAD_START_ROUTINE
entry
,
void
*
arg
,
BOOL
suspend
,
TEB
*
teb
);
extern
void
DECLSPEC_NORETURN
signal_exit_thread
(
int
status
,
void
(
*
func
)(
int
),
TEB
*
teb
);
extern
SYSTEM_SERVICE_TABLE
KeServiceDescriptorTable
[
4
];
extern
void
__wine_syscall_dispatcher
(
void
);
extern
void
DECLSPEC_NORETURN
__wine_syscall_dispatcher_return
(
void
*
frame
,
ULONG_PTR
retval
);
...
...
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