https://bugzilla.novell.com/show_bug.cgi?id=423582
Summary: Thread.SpinWait is incorectly implemented
Product: Mono: Runtime
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
SpinWait is implemented using Sleep which is exact opposite of what it should
do.
The most common implementations use
__asm__ __volatile__("rep;nop" ::: "memory");
but I don't know whether we have to implement it or just import it from
somewhere
Few more implementation details are here
http://msdn.microsoft.com/en-us/library/system.threading.thread.spinwait.aspx
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs