We need a smarter System.Threading.Tasks.TaskScheduler
Opened this issue · 1 comments
rubenv commented
Every Task scheduling is currently fair. This means that when 100 mipmap tasks are queued, no new loading tasks for the UI will run. Obviously this is bad, so we need to be able to assign priorities, making sure that the loading of an image always preempts the generation of a mipmap.
This should be doable by defining a custom TaskScheduler. http://msdn.microsoft.com/en-us/library/ee789351%28v=VS.100%29.aspx
rubenv commented
Bumped up to top priority. This is really hurting us.