Messages in this thread | | | Date | Thu, 6 Jan 2000 23:53:36 +0100 (CET) | From | Andrea Arcangeli <> | Subject | RE: (*(unsigned long *)&jiffies)++; |
| |
On Thu, 6 Jan 2000, David Schwartz wrote:
> Exactly. What's the point of declaring it as volatile if you're >later going to cast the volatile away? The compiler has the right to
Because all readers needs the variable declared as volatile. Only the do_timer (writer) doesn't really need that.
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/
| |