Software Multithreading
Software Multithreading
Multithreading
What is Multi-threading? :
Advantages of Multi-threading :
User Threads
Kernel Threads
Multi-threading Models :
Many-to-one
The many-to-one model maps many userlevel threads to one kernel thread.
Advantages: Totally portable More efficient
Disadvantages: cannot take advantage of
parallelism The entire process is block if a
thread makes a blocking system call Mainly
used in language systems, portable libraries
like solaris 2
One-to-one
Many-to-many