[omniORB] Lockup on Solaris 2.5.1 with Y2K patch
Harald Hopfes
harald.hopfes@vs.dasa.de
Tue, 22 Jun 1999 16:45:39 +0200
First, even if the 4-byte read is an atomic, the following piece of code,
isn't just a (4-byte) read:
while(!died)
It conains at least the (4-byte) read, a "COMPARE" and a "BRANCH" assembler
instruction.
Even so, I think it should not be necessary to protect it, but you never know
how the compiler
optimizes this piece of code: So I prefer to be on the save way.
Another question: Do you know the instruction set of your computer and which
kind of optimizations
it uses? I don't!
Harald