Bug 26377 - Add support for setting priorities for Threads in Mono.
Summary: Add support for setting priorities for Threads in Mono.
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: 3.8.0
Hardware: Macintosh Mac OS
: --- enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-01-23 21:23 UTC by Jon Goldberger [MSFT]
Modified: 2015-01-26 15:15 UTC (History)
5 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Jon Goldberger [MSFT] 2015-01-23 21:23:39 UTC
## Description:

Setting priorities for Threads is not implemented in Mono. See:
http://stackoverflow.com/a/13000071/2913599

and 

https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Threading/Thread.cs#L615

So this is a request to implement it.
Comment 2 Zoltan Varga 2015-01-26 15:15:08 UTC
So the problem here is that it is hard to map the priorities in ThreadPriority to the actual thread priorities provided by the OS esp. osx.

Note You need to log in before you can comment on or make changes to this bug.