Re: gettimeofday() a special case : why?

Andrea Arcangeli (andrea@suse.de)
Tue, 14 Dec 1999 16:57:06 +0100 (CET)


On Tue, 14 Dec 1999, Keith Owens wrote:

>one of the cpus. It is not interrupt safe, does that matter for
>gettimeofday?

That matters only for the writer (settimeofday colliding with the timer
irq) but that can be fixed trivially by clearing irqs locally before
entering the update from settimeofday ;).

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/