|
-
Mar 21st, 2003, 02:13 PM
#1
Thread Starter
Dazed Member
VM Thread Scheduling
Just want to confirm some information. From what i remember Windows VM's use preemptive thread scheduling, Mac's cooperative thread scheduling. Now here is where i am hazy. Unix uses a combination of bolth. From what i have read the green thread model for Solaris uses cooperative thread scheduling and i guess any other preemptive. But how do you know which one the VM you have uses?
-
Mar 23rd, 2003, 03:37 AM
#2
Doesn't the JVM do its own thread scheduling? Cooperative scheduling wouldn't work in Java anyway.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 23rd, 2003, 12:52 PM
#3
Thread Starter
Dazed Member
Yes of course the VM does it's own thread scheduling.
On all VM's preemptive scheulding is used for threads of different priorities. Now depending on the VM, cooperative scheduling will be used for threads of the same priority or preemptive scheduling will be used.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|