Re: A question of multi-thread on darwin.
Re: A question of multi-thread on darwin.
- Subject: Re: A question of multi-thread on darwin.
- From: Greg Parker <email@hidden>
- Date: Tue, 12 Jun 2007 12:19:43 -0700
Calvin Liu wrote:
Recently I read a book saying that "Windows and Macintosh
implementations of Java follow a time slicing approach. Solaris and
other Unix implementations follow a preemptive scheduling approach."
So I have some questions:
Your book is old. Mac OS X uses preemptive scheduling for Java threads
and all other threads. (Mac OS Classic did use a time-slice scheduler.)
1. Does it mean changing priority of a process won't change anything
on Windows/Mac because of the time slicing approach?
2. And if it happens on all BSD-based OS?
3. Where can I find details for this topic?
In general, process priority should affect Java the same way as non-
Java code. Other BSD-based systems may differ, but I expect they all
use preemptive threads for Java and non-Java. email@hidden
will know more about Mac OS X's Java implementation.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden