Bug 324431 (MONO81756) - [PATCH] Process.PriorityClass implementation
Summary: [PATCH] Process.PriorityClass implementation
Status: RESOLVED FIXED
Alias: MONO81756
Product: Mono: Runtime
Classification: Mono
Component: io-layer (show other bugs)
Version: 1.2
Hardware: Other All
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Dick Porter
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 15:25 UTC by Robert Jordan
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
mono_getsetprio.diff (8.16 KB, patch)
2007-05-28 15:25 UTC, Thomas Wiest
Details | Diff
mcs_getsetprio.diff (1.99 KB, patch)
2007-05-28 15:26 UTC, Thomas Wiest
Details | Diff
standalone-priorityclass-test.cs (1.62 KB, text/plain)
2007-05-28 15:48 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:40:14 UTC


---- Reported by robertj@gmx.net 2007-05-28 08:25:18 MST ----

The patches implement Process.PriorityClass using the also
provided WAPI Get|SetPriorityClass (), based on get|setpriority(3).



---- Additional Comments From robertj@gmx.net 2007-05-28 08:25:47 MST ----

Created an attachment (id=172071)
mono_getsetprio.diff




---- Additional Comments From robertj@gmx.net 2007-05-28 08:26:09 MST ----

Created an attachment (id=172072)
mcs_getsetprio.diff




---- Additional Comments From robertj@gmx.net 2007-05-28 08:48:37 MST ----

Created an attachment (id=172073)
standalone-priorityclass-test.cs




---- Additional Comments From lupus@ximian.com 2007-08-20 07:45:40 MST ----

This looks good to me, with one doubt: REALTIME_PRIORITY_CLASS likely
requires also setting the scheduling policy to SCHED_FIFO, though I
guess this is a good enough first approximation. Has Dick had no
objection to this change for several months, please commit.
Thanks.



---- Additional Comments From robertj@gmx.net 2007-08-23 03:09:23 MST ----

Fixed in r84678:84679


Imported an attachment (id=172071)
Imported an attachment (id=172072)
Imported an attachment (id=172073)