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
0839ea10
Commit
0839ea10
authored
Sep 07, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Added sysctl to make the signal stack per-thread on MacOS.
parent
db7b684d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
signal_i386.c
dlls/ntdll/signal_i386.c
+12
-0
No files found.
dlls/ntdll/signal_i386.c
View file @
0839ea10
...
...
@@ -51,6 +51,9 @@
#ifdef HAVE_SYS_SIGNAL_H
# include <sys/signal.h>
#endif
#ifdef HAVE_SYS_SYSCTL_H
# include <sys/sysctl.h>
#endif
#include "windef.h"
#include "thread.h"
...
...
@@ -1301,6 +1304,15 @@ BOOL SIGNAL_Init(void)
#ifdef HAVE_SIGALTSTACK
struct
sigaltstack
ss
;
#ifdef __APPLE__
int
mib
[
2
],
val
=
1
;
mib
[
0
]
=
CTL_KERN
;
mib
[
1
]
=
KERN_THALTSTACK
;
sysctl
(
mib
,
2
,
NULL
,
NULL
,
&
val
,
sizeof
(
val
)
);
#endif
ss
.
ss_sp
=
get_signal_stack
();
ss
.
ss_size
=
signal_stack_size
;
ss
.
ss_flags
=
0
;
...
...
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