Hi,
I have read about the user level / kernel level threading as well as the three threading model : Many to One, One to One, Many to Many.
I noticed that any OS tends to support more than one threading model. Windows NT seems to support Many to Many and One to one. If the user writes a multithreading application does he have the freedom to select which threading model he wants to use? I have in mind particularly Java and Pthreads. For instance while writing a java multithreaded application, I can't find an instruction to select a particular threading model. Does JVM have a default setting? I have read that it used to be Many to one in old version and current version is for instance 1:1 in windows NT although that the latest supports also Many to Many What about other packages (Pthread)?
Another questions some references tend to claim that while using user level thread library, the scheduling can't be pre-emptive. I think this possible if a timer is used. Why such solution has not been adopted
Thanks