IS a thread scheduler part of JVM or OS ?
843789Dec 9 2009 — edited Dec 10 2009Hi Folks,
Just curious if the thread scheduler is a part of the JVM or OS, or either or both ?
I tried few thread pages in JLS,but couldnot locate the exact sentence describing this.
However some other resources have given me contradicting information.
For example, [Reference1|http://www.deitel.com/articles/java_tutorials/20051126/JavaMultithreading_Tutorial_Part3.html] states that it is a part of the OS,whereas [Reference2|http://book.javanb.com/java-threads-3rd/jthreads3-CHP-9-SECT-1.html] states that it is a part of both.(I am not sure about the authority of these links.)
So assuming, thread scheduling is done by JVM it is a part of the JVM only or it uses the underlying OS for support.
Thank you for the consideration.