Home | History | Annotate | Download | only in libpthread
History log of /src/lib/libpthread/affinity.3
RevisionDateAuthorComments
 1.10  25-Feb-2025  riastradh libpthread/affinity.3: Fix error reporting in example.

pthread_setaffinity_np does not set errno, so err(...) is wrong.
Instead, it returns the error number, which requires either
errc(..., error, ...) or errno = error; err(...).
 1.9  21-Feb-2025  wiz slightly expand example
 1.8  05-Dec-2011  wiz branches: 1.8.52;
Do not xref to itself.
 1.7  04-Dec-2011  jym Improvements in secmodel(9). Document secmodel_register(9), _deregister(9)
and _eval(9).

Add secmodel_extensions(9), and indicate the new sysctl(7) to let
ordinary users control the CPU affinity (user_set_cpu_affinity).
 1.6  09-Jul-2010  wiz branches: 1.6.6;
Sort sections.
 1.5  09-Jul-2010  jruoho Add a compatibility note. Also some minor improvements.
 1.4  20-Jan-2009  rmind - Make thread-affinity and processor-set interfaces mutually exlusive.
- pset_assign: when CPU is assigned, migrate out all LWPs from it.
 1.3  18-Oct-2008  rmind branches: 1.3.2; 1.3.4;
Do not recommend to mix affinity(3) with pset(3).
 1.2  12-Sep-2008  rmind Arguments were swapped for cpuset_set(), cpuset_clr(), cpuset_isset()
functions, but man pages were not updated (hi Christos!).
 1.1  16-Jun-2008  rmind branches: 1.1.2; 1.1.4;
- Add affinity(3) manual page, which describes thread affinity,
pthread_setaffinity_np(3) and pthread_getaffinity_np(3) functions,
provides simple code example.
- Add cpuset(3) manual page, which describes API of CPU-sets.

Thanks <wiz> for many improvements!
 1.1.4.3  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.1.4.2  23-Jun-2008  wrstuden Add files to branch that were added on -current.

After this, all that's left of update is to merge some changes
that had conflicts.
 1.1.4.1  16-Jun-2008  wrstuden file affinity.3 was added on branch wrstuden-revivesa on 2008-06-23 05:02:11 +0000
 1.1.2.2  17-Jun-2008  yamt sync with head.
 1.1.2.1  16-Jun-2008  yamt file affinity.3 was added on branch yamt-pf42 on 2008-06-17 09:13:39 +0000
 1.3.4.2  18-Oct-2008  rmind Do not recommend to mix affinity(3) with pset(3).
 1.3.4.1  18-Oct-2008  rmind file affinity.3 was added on branch christos-time_t on 2008-10-18 03:37:42 +0000
 1.3.2.1  22-Jan-2009  snj Pull up following revision(s) (requested by rmind in ticket #291):
lib/libpthread/affinity.3: revision 1.4
lib/librt/pset.3: revision 1.8
sys/kern/sys_pset.c: revision 1.10
sys/kern/sys_sched.c: revision 1.32
- Make thread-affinity and processor-set interfaces mutually exlusive.
- pset_assign: when CPU is assigned, migrate out all LWPs from it.
 1.6.6.1  17-Apr-2012  yamt sync with head
 1.8.52.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed