[lkml]   [2005]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-25 23:29    [W:0.071 / U:29.344 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site