1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Flesh out the libkse note a bit. Source material kindly provided by

deischen, any inaccuracies are mine.

Approved by:	re (implicitly)
This commit is contained in:
Bruce A. Mah 2003-05-23 20:10:46 +00:00
parent 2e05d89828
commit 9aac2345ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115267
2 changed files with 22 additions and 4 deletions

View File

@ -814,10 +814,19 @@
<para arch="i386,pc98">The <filename>libkse</filename> library,
providing POSIX threading support using KSE, is now enabled and
installed by default. It is still considered a
installed by default.
This library currently supports M:N threading. Both process and
system scope threads are supported, as well as getting/setting
the concurrency level. By default, the library sets the
concurrency level to the number of CPUs in the system. Each
concurrency level correlates to a KSE, and all process scope
threads run in these KSEs. Each system scope thread gets its
own KSE in addition to those corresponding to concurrency levels.
<filename>libkse</filename> is still considered a
work-in-progress, and is not used by default. However, it can
be used as a replacement for the <filename>libc_r</filename>
thread library.</para>
thread library, by substituting <option>-lkse</option> instead of
<option>-pthread</option> when linking programs.</para>
<para arch="i386,pc98,sparc64,ia64">A 1:1 threading package (where for every pthread in an
application there is one KSE and thread) has been implemented.

View File

@ -814,10 +814,19 @@
<para arch="i386,pc98">The <filename>libkse</filename> library,
providing POSIX threading support using KSE, is now enabled and
installed by default. It is still considered a
installed by default.
This library currently supports M:N threading. Both process and
system scope threads are supported, as well as getting/setting
the concurrency level. By default, the library sets the
concurrency level to the number of CPUs in the system. Each
concurrency level correlates to a KSE, and all process scope
threads run in these KSEs. Each system scope thread gets its
own KSE in addition to those corresponding to concurrency levels.
<filename>libkse</filename> is still considered a
work-in-progress, and is not used by default. However, it can
be used as a replacement for the <filename>libc_r</filename>
thread library.</para>
thread library, by substituting <option>-lkse</option> instead of
<option>-pthread</option> when linking programs.</para>
<para arch="i386,pc98,sparc64,ia64">A 1:1 threading package (where for every pthread in an
application there is one KSE and thread) has been implemented.