Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
325530de
Commit
325530de
authored
Jan 29, 2009
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(run_timers, alarm_signal_handler): Update pending_signals.
parent
55310b94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/atimer.c
src/atimer.c
+9
-2
No files found.
src/atimer.c
View file @
325530de
...
...
@@ -384,8 +384,13 @@ run_timers ()
EMACS_GET_TIME
(
now
);
}
if
(
!
pending_atimers
)
set_alarm
();
if
(
pending_atimers
)
pending_signals
=
1
;
else
{
pending_signals
=
interrupt_input_pending
;
set_alarm
();
}
}
...
...
@@ -397,6 +402,7 @@ alarm_signal_handler (signo)
int
signo
;
{
pending_atimers
=
1
;
pending_signals
=
1
;
#ifndef SYNC_INPUT
run_timers
();
#endif
...
...
@@ -439,6 +445,7 @@ init_atimer ()
{
free_atimers
=
atimers
=
NULL
;
pending_atimers
=
0
;
/* pending_signals is initialized in init_keyboard.*/
signal
(
SIGALRM
,
alarm_signal_handler
);
}
...
...
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