[Mono-devel-list] [PATCH] Move of Interlocked.Increment/Decrement/Exchange I4 to op codes

Jonathan Gilbert 2a5gjx302 at sneakemail.com
Tue Nov 23 15:11:38 EST 2004


At 03:07 PM 23/11/2004 -0500, Ben Maurer wrote:
[snip]
>Interlocked.Increment (ref foo)
>
>gets turned into
>
>[lock; ] inc [foo]
>
>rather than an xadd type thing.

Doesn't this need a 'lock' prefix in SMP configurations?

Jonathan Gilbert




More information about the Mono-devel-list mailing list