Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
00f461fe
Commit
00f461fe
authored
25 years ago
by
dtc
Browse files
Options
Downloads
Patches
Plain Diff
Avoid the SA_SIGINFO flag on Linux as it causes the creation of
alternate real-time interrupt frames.
parent
a6373a17
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lisp/interrupt.c
+17
-1
17 additions, 1 deletion
lisp/interrupt.c
with
17 additions
and
1 deletion
lisp/interrupt.c
+
17
−
1
View file @
00f461fe
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/interrupt.c,v 1.
19
1999/0
2/22 11:49:18
dtc Exp $ */
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/interrupt.c,v 1.
20
1999/0
9/16 15:26:01
dtc Exp $ */
/* Interrupt handing magic. */
...
...
@@ -500,7 +500,15 @@ void interrupt_install_low_level_handler
sa
.
sa_sigaction
=
handler
;
sigemptyset
(
&
sa
.
sa_mask
);
FILLBLOCKSET
(
&
sa
.
sa_mask
);
#if defined(__linux__)
/*
* Don't want the SIGINFO flag on linux as it causes the creation
* of real-time interrupt frames.
*/
sa
.
sa_flags
=
SA_RESTART
;
#else
sa
.
sa_flags
=
SA_RESTART
|
SA_SIGINFO
;
#endif
sigaction
(
signal
,
&
sa
,
NULL
);
#else
...
...
@@ -563,7 +571,15 @@ unsigned long install_handler(int signal,
sigemptyset
(
&
sa
.
sa_mask
);
FILLBLOCKSET
(
&
sa
.
sa_mask
);
#if defined(__linux__)
/*
* Don't want the SIGINFO flag on linux as it causes the
* creation of real-time interrupt frames.
*/
sa
.
sa_flags
=
SA_RESTART
;
#else
sa
.
sa_flags
=
SA_SIGINFO
|
SA_RESTART
;
#endif
sigaction
(
signal
,
&
sa
,
NULL
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment