[Mono-bugs] [Bug 423582] New: Thread.SpinWait is incorectly implemented
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Sep 5 05:43:12 EDT 2008
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: mono-bugs at lists.ximian.com
ReportedBy: msafar at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list