git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
de88439
)
Check that SIGALRM got delivered (should never fail)
author
Steve Muir
<smuir@cs.princeton.edu>
Fri, 7 Jan 2005 21:12:01 +0000
(21:12 +0000)
committer
Steve Muir
<smuir@cs.princeton.edu>
Fri, 7 Jan 2005 21:12:01 +0000
(21:12 +0000)
kernel/itimer.c
patch
|
blob
|
history
diff --git
a/kernel/itimer.c
b/kernel/itimer.c
index
6918cb7
..
5bf6c88
100644
(file)
--- a/
kernel/itimer.c
+++ b/
kernel/itimer.c
@@
-68,7
+68,9
@@
void it_real_fn(unsigned long __data)
struct task_struct * p = (struct task_struct *) __data;
unsigned long interval;
- send_group_sig_info(SIGALRM, SEND_SIG_PRIV, p);
+ if (send_group_sig_info(SIGALRM, SEND_SIG_PRIV, p))
+ printk("*warning*: failed to send SIGALRM to %u\n", p->pid);
+
interval = p->it_real_incr;
if (interval) {
if (interval > (unsigned long) LONG_MAX)