Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] "ATTACHED" and "attached" in MIInferior

>>>>> "Keith" == Keith Seitz <keiths@xxxxxxxxxx> writes:

Keith> Doesn't MIInferior.isAttached need to also be synchronized?

A simple accessor method ("return foo") that accesses a field whose
type is not long or double doesn't need to be synchronized.  The JLS
already requires this to be atomic.

Tom


Back to the top