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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 2 12:39:48 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=540524#c2


--- Comment #2 from Levi Bard <taktaktaktaktaktaktaktaktaktak at gmail.com> 2010-02-02 17:39:46 UTC ---
Created an attachment (id=340259)
 --> (http://bugzilla.novell.com/attachment.cgi?id=340259)
Preliminary patch

First-pass implementation of thread priority setting and querying, with
pthreads backend.

For this to take effect on a modern Linux system, mono must be invoked like:
`sudo chrt --rr -p 10 mono blah.exe` (where any valid priority can be given
instead of 10, and --rr or --fifo can be specified as the scheduler).

I'd like to add some test cases for this, but I'm not sure how, given the
current framework.

-- 
Configure bugmail: http://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