Skip to content

Commit 750a596

Browse files
author
Vladimir Kotal
committed
more on 1:1
1 parent cd31be1 commit 750a596

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

threads.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@
9090
most of the systems stick to the 1:1 model. There was some evolution in
9191
the past, e.g. Solaris 9 was using the M:N model and switched to 1:1 in
9292
Solaris 10.
93+
\item The drawback of the 1:1 model is that there is always some non-trivial
94+
overhead associated with thread creation as the library has to call into the
95+
kernel as well in order to create the associated kernel thread.
9396
\item Threads implemented in a library may be either preemptive or
9497
non-pre\-emp\-tive. To achieve preemption, you can use timers and signals.
9598
However, if the objective is more in better modular programming than real

0 commit comments

Comments
 (0)