Module Name: src Committed By: christos Date: Sun Jul 3 14:24:59 UTC 2016
Modified Files: src/lib/libc/gen: sysconf.3 sysconf.c src/lib/libc/sys: Makefile.inc src/lib/libpthread: Makefile pthread.h pthread_barrier.3 pthread_barrier.c pthread_barrierattr.3 pthread_cond.c pthread_condattr.3 pthread_mutex.3 pthread_mutex.c pthread_mutexattr.3 pthread_rwlock.c pthread_rwlockattr.3 pthread_types.h src/sys/kern: kern_lwp.c kern_sleepq.c kern_synch.c sys_sched.c syscalls.master src/sys/sys: lwp.h sched.h unistd.h src/tests/lib/libpthread: t_cond.c t_mutex.c Log Message: GSoC 2016 Charles Cui: Implement thread priority protection based on work by Andy Doran. Also document the get/set pshared thread calls as not implemented, and add a skeleton implementation that is disabled. XXX: document _sched_protect(2). To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/lib/libc/gen/sysconf.3 cvs rdiff -u -r1.39 -r1.40 src/lib/libc/gen/sysconf.c cvs rdiff -u -r1.230 -r1.231 src/lib/libc/sys/Makefile.inc cvs rdiff -u -r1.86 -r1.87 src/lib/libpthread/Makefile cvs rdiff -u -r1.36 -r1.37 src/lib/libpthread/pthread.h cvs rdiff -u -r1.4 -r1.5 src/lib/libpthread/pthread_barrier.3 cvs rdiff -u -r1.19 -r1.20 src/lib/libpthread/pthread_barrier.c cvs rdiff -u -r1.9 -r1.10 src/lib/libpthread/pthread_barrierattr.3 \ src/lib/libpthread/pthread_condattr.3 cvs rdiff -u -r1.63 -r1.64 src/lib/libpthread/pthread_cond.c cvs rdiff -u -r1.6 -r1.7 src/lib/libpthread/pthread_mutex.3 cvs rdiff -u -r1.59 -r1.60 src/lib/libpthread/pthread_mutex.c cvs rdiff -u -r1.11 -r1.12 src/lib/libpthread/pthread_mutexattr.3 cvs rdiff -u -r1.33 -r1.34 src/lib/libpthread/pthread_rwlock.c cvs rdiff -u -r1.8 -r1.9 src/lib/libpthread/pthread_rwlockattr.3 cvs rdiff -u -r1.17 -r1.18 src/lib/libpthread/pthread_types.h cvs rdiff -u -r1.184 -r1.185 src/sys/kern/kern_lwp.c cvs rdiff -u -r1.50 -r1.51 src/sys/kern/kern_sleepq.c cvs rdiff -u -r1.310 -r1.311 src/sys/kern/kern_synch.c cvs rdiff -u -r1.43 -r1.44 src/sys/kern/sys_sched.c cvs rdiff -u -r1.284 -r1.285 src/sys/kern/syscalls.master cvs rdiff -u -r1.171 -r1.172 src/sys/sys/lwp.h cvs rdiff -u -r1.75 -r1.76 src/sys/sys/sched.h cvs rdiff -u -r1.58 -r1.59 src/sys/sys/unistd.h cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libpthread/t_cond.c cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libpthread/t_mutex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.