Fairness of thread scheduling?
Sean Kelly
sean at f4.ca
Tue Jun 5 10:53:50 PDT 2007
Jason House wrote:
>
> Any ideas what could be going wrong? I've tried adding a try block
> surrounding the run method of the worker threads to output any silent
> failures (somehow). Since I see nothing failing and I see the decreased
> performance per thread, I'm assuming thread starvation is occurring. Is
> this expected behavior?
I think the default scheduling option on Posix is implementation
defined. The pre-defined options are FIFO and round-robin however, and
I'd guess your system is using FIFO?
Sean
More information about the Digitalmars-d-learn
mailing list