From: Tomas Hruby Date: Tue, 6 Apr 2010 11:16:14 +0000 (+0000) Subject: do_vtimer() X-Git-Tag: v3.1.7~180 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/CHANGES?a=commitdiff_plain;h=cdd6743e88e9da97006d86e65cf05bc242d8f133;p=minix.git do_vtimer() - removed comment which is not true anymore as we don't have any tasks. No need to take any special measures. --- diff --git a/kernel/system/do_vtimer.c b/kernel/system/do_vtimer.c index d7cacf6e3..a3fb88377 100644 --- a/kernel/system/do_vtimer.c +++ b/kernel/system/do_vtimer.c @@ -59,13 +59,6 @@ PUBLIC int do_vtimer(struct proc * caller, message * m_ptr) old_value = 0; } - /* Set the new value, if requested. This is called from the system task, so - * we can be interrupted by the clock interrupt, but not by the clock task. - * Therefore we only have to protect against interference from clock.c's - * clock_handler(). We can do this without disabling interrupts, by removing - * the timer's flag before changing the ticks-left field; in that case the - * clock interrupt will not touch the latter anymore. - */ if (m_ptr->VT_SET) { rp->p_misc_flags &= ~pt_flag; /* disable virtual timer */