X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Threading%2FSpinLock.cs;h=683c98374180e2dad7e7a2160cda1144ccfeabee;hb=e2b2d181084848f3c5dde2788370db1b79893c69;hp=7666e17e496388e669e598b1a39680179e0393d8;hpb=0aedc3f6fb2194817c766659c50a7e7f4786672e;p=mono.git diff --git a/mcs/class/corlib/System.Threading/SpinLock.cs b/mcs/class/corlib/System.Threading/SpinLock.cs index 7666e17e496..683c9837418 100644 --- a/mcs/class/corlib/System.Threading/SpinLock.cs +++ b/mcs/class/corlib/System.Threading/SpinLock.cs @@ -57,7 +57,7 @@ namespace System.Threading int threadWhoTookLock; readonly bool isThreadOwnerTrackingEnabled; - static Watch sw = Watch.StartNew (); + static readonly Watch sw = Watch.StartNew (); ConcurrentOrderedList stallTickets;