System.Threading.AotInterlocked Class Reference
Interlocked reference exchanges do not work with the older Mono AOT compiler so this type fudges around it using a spinlock. More...
Collaboration diagram for System.Threading.AotInterlocked:
Static Public Member Functions | |
static T | Exchange< T > (ref T target, T newValue) |
static T | CompareExchange< T > (ref T target, T newValue, T comparand) |
Detailed Description
Interlocked reference exchanges do not work with the older Mono AOT compiler so this type fudges around it using a spinlock.
This works (probably more slowly) so long as all exchanges are performed through this mechanism.
See AOT compiler fixes: 79b99d358b1321759ea3a42f22eaf141aecf0e79 on the mono 2.10 branch http://permalink.gmane.org/gmane.comp.gnome.mono.patches/182067 https://bugzilla.xamarin.com/show_bug.cgi?id=234
Definition at line 15 of file AotInterlocked.cs.
Member Function Documentation
|
static |
Definition at line 39 of file AotInterlocked.cs.
|
static |
Definition at line 19 of file AotInterlocked.cs.
The documentation for this class was generated from the following file: