3 ms·
https://en.wikipedia.org/wiki/Thread_%28computing%29#1:1_.28kernel-level_threading.29 https://en.wikipedia.org/wiki/Thread_%28computing%29#1:1_.28...: 1:1 (kern
by xtf 11y ago
https://en.wikipedia.org/wiki/Thread_%28computing%29#1:1_.28kernel-level_threading.29 https://en.wikipedia.org/wiki/Thread_%28computing%29#1:1_.28...:
1:1 (kernel-level threading)
Threads created by the user in a 1:1 correspondence with schedulable entities in the kernel[10] are the simplest possible threading implementation. OS/2 and Win32 used this approach from the start, while on Linux the usual C library implements this approach (via the NPTL or older LinuxThreads). This approach is also used by Solaris, NetBSD, FreeBSD, OS X, and iOS.
- mkup 11y agoIt's also worth noting that FreeBSD used to rely on M:N threading model (via libkse) then switched to 1:1 threading model (via libthr).
- jdub 11y agoThough LinuxThreads was M:N, and Solaris migrated to 1:1 relatively recently too (as did others).
- the_why_of_y 11y agoNo, LinuxThreads was 1:1. Maybe you are thinking of IBM's NGPT proposal? http://www.onlamp.com/pub/a/onlamp/2002/11/07/linux_threads.html?page=2 http://www.onlamp.com/pub/a/onlamp/2002/11/07/linux_threads.... "Relatively recently" would be Solaris 8, in 2000.