Re: Uses for memory barriers

From: Oliver Neukum
Date: Fri Sep 08 2006 - 14:19:55 EST



> I'm not sure what you mean. The code wasn't intended to "work" in any
> sense; it was just to make a point. My question still stands: Is it
> possible, in the code as I originally wrote it, for the assertion to fail?

Sorry, I misread || for &&.
The assertion will be true.

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