
Q I'm writing an app that queues thousands of operations to the ThreadPool during a run. Some operations are more important than others, and I want them to have a higher priority. In other words, if there are any high-priority operations waiting to be run, I want the ThreadPool to pick up and run those first, regardless of when they were queued. How can I accomplish this?
|