[Mono-bugs] [Bug 540524] thread.Priority doesn't do anything

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 28 18:05:10 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=540524

https://bugzilla.novell.com/show_bug.cgi?id=540524#c6


--- Comment #6 from Gonzalo Paniagua Javier <gonzalo at novell.com> 2011-01-28 23:05:09 UTC ---
Created an attachment (id=411104)
 --> (http://bugzilla.novell.com/attachment.cgi?id=411104)
Test

Running the attached test produces the following output:
$ mono prio.exe
SetThreadPriority: error looking up thread handle (nil)
SetThreadPriority: error looking up thread handle (nil)

ThreadTwo with      Normal priority has a count = 4,303,186,018
ThreadOne with      Normal priority has a count = 4,350,491,106

$ sudo chrt --rr -p 10 mono prio.exe
ThreadTwo with      Lowest priority has a count = 1,712,053,563
ThreadOne with      Lowest priority has a count = 1,714,043,408

I would expect ThreadOne go get more iterations...

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list