This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have three threads which are going to access the method with different priorities. Is there any way that thread with the lowest priority will be execute first without the mercy of the cpu scheduler... by stopping the other threads to start executing the method.....
Is there any way that thread with the lowest priority will be execute first without the mercy of the cpu scheduler... by stopping the other threads to start executing the method.....
Officially? No. The methods to temporarally stop a thread (to suspend a thread) are deprecated.
The way to accomplish this is cooperatively. You higher priority threads will need to wait, while the lower priority thread finishes its task first.