projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of github.com:mono/mono
[mono.git]
/
mcs
/
class
/
corlib
/
System.Threading
/
SpinLock.cs
diff --git
a/mcs/class/corlib/System.Threading/SpinLock.cs
b/mcs/class/corlib/System.Threading/SpinLock.cs
index e3fb372dd26551be9327ea5a6349eacb7a0e5eab..4191acbeaf31d149d928a97c19e3599c4b856382 100644
(file)
--- a/
mcs/class/corlib/System.Threading/SpinLock.cs
+++ b/
mcs/class/corlib/System.Threading/SpinLock.cs
@@
-89,7
+89,7
@@
namespace System.Threading
int slot = Interlocked.Increment (ref ticket.Users) - 1;
- SpinWait wait;
+ SpinWait wait
= new SpinWait ()
;
while (slot != ticket.Value)
wait.SpinOnce ();