Messages in this thread | | | Date | Thu, 25 Aug 2005 15:26:56 -0600 | From | "Christopher Friesen" <> | Subject | Re: [OT] volatile keyword |
| |
Vadim Lobanov wrote:
> I figured it was something along these lines. In that case, is the > following code (from kernel/posix-timers.c) really doing the right > thing? > > do > expires = timr->it_timer.expires; > while ((volatile long) (timr->it_timer.expires) != expires); > > Seems it's casting the value, not the pointer.
Someone else will have to give the definitive answer, but it looks suspicious to me...
Chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |