From: David van Moolenbroek Date: Wed, 26 May 2010 07:10:28 +0000 (+0000) Subject: reset alarm timer on PRIVCTL X-Git-Tag: v3.1.7~36 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/man.host.html?a=commitdiff_plain;h=51ff10d7c0238551ec2fd23f0a7e2db6fdb3f2d6;p=minix.git reset alarm timer on PRIVCTL --- diff --git a/kernel/system/do_privctl.c b/kernel/system/do_privctl.c index c80ec9e6d..aebdfc03b 100644 --- a/kernel/system/do_privctl.c +++ b/kernel/system/do_privctl.c @@ -99,6 +99,7 @@ PUBLIC int do_privctl(struct proc * caller, message * m_ptr) priv(rp)->s_notify_pending.chunk[i] = 0; /* - notifications */ priv(rp)->s_int_pending = 0; /* - interrupts */ sigemptyset(&priv(rp)->s_sig_pending); /* - signals */ + reset_timer(&priv(rp)->s_alarm_timer); /* - alarm */ priv(rp)->s_asyntab= -1; /* - asynsends */ priv(rp)->s_asynsize= 0;