Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2503c8b1
Commit
2503c8b1
authored
Feb 17, 2000
by
Gerd Moellmann
Browse files
(stop_other_atimers): Don't call cancel_atimer because
that unblocks alarms.
parent
249652b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
src/ChangeLog
src/ChangeLog
+3
-0
src/atimer.c
src/atimer.c
+17
-5
No files found.
src/ChangeLog
View file @
2503c8b1
No preview for this file type
src/atimer.c
View file @
2503c8b1
...
...
@@ -214,11 +214,23 @@ stop_other_atimers (t)
if
(
t
)
{
cancel_atimer
(
t
);
if
(
free_atimers
!=
t
)
abort
();
free_atimers
=
free_atimers
->
next
;
t
->
next
=
NULL
;
struct
atimer
*
p
,
*
prev
;
/* See if T is active. */
for
(
p
=
atimers
,
prev
=
0
;
p
&&
p
!=
t
;
p
=
p
->
next
)
;
if
(
p
==
t
)
{
if
(
prev
)
prev
->
next
=
t
->
next
;
else
atimers
=
t
->
next
;
t
->
next
=
NULL
;
}
else
/* T is not active. Let's handle this like T == 0. */
t
=
NULL
;
}
stopped_atimers
=
atimers
;
...
...
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