Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: rmind
Date: Sat Jan 26 17:55:30 UTC 2008
Modified Files:
src/lib/libc/gen: sysconf.c
src/lib/libpthread: pthread.h pthread_misc.c
src/lib/librt: sched.c
src/sys/kern: sys_sched.c
src/sys/sys: lwp.h pset.h sched.h
Log Message:
sched_setparam: fix the case when incorrect (according to the class)
in-kernel priority is used. Reported by <drochner>.
Minor fixes for scheduling calls to conform the POSIX:
- If pid is equal to zero, use the calling process;
- In case of permission problem, return EPERM instead of EACESS;
- sched_setscheduler() should return previously used policy;
- pthread_* calls should return the error code or zero;
Should fix the namespace problems (and builds of some packages):
- Move cpuset_t defintion from pset.h to sched.h;
- Remove the #include of pset.h in pthread.h;
To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 src/lib/libc/gen/sysconf.c
cvs rdiff -r1.27 -r1.28 src/lib/libpthread/pthread.h
cvs rdiff -r1.4 -r1.5 src/lib/libpthread/pthread_misc.c
cvs rdiff -r1.1 -r1.2 src/lib/librt/sched.c
cvs rdiff -r1.6 -r1.7 src/sys/kern/sys_sched.c
cvs rdiff -r1.77 -r1.78 src/sys/sys/lwp.h
cvs rdiff -r1.1 -r1.2 src/sys/sys/pset.h
cvs rdiff -r1.45 -r1.46 src/sys/sys/sched.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index