Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   ad
Date:           Mon Mar 17 16:54:51 UTC 2008

Modified Files:
        src/sys/kern: kern_condvar.c kern_lwp.c kern_sleepq.c kern_synch.c
            kern_turnstile.c
        src/sys/sys: lwp.h sleepq.h syncobj.h

Log Message:
Add a boolean parameter to syncobj_t::sobj_unsleep. If true we want the
existing behaviour: the unsleep method unlocks and wakes the swapper if
needs be. If false, the caller is doing a batch operation and will take
care of that later. This is kind of ugly, but it's difficult for the caller
to know which lock to release in some situations.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/kern/kern_condvar.c \
    src/sys/kern/kern_turnstile.c
cvs rdiff -r1.95 -r1.96 src/sys/kern/kern_lwp.c
cvs rdiff -r1.21 -r1.22 src/sys/kern/kern_sleepq.c
cvs rdiff -r1.220 -r1.221 src/sys/kern/kern_synch.c
cvs rdiff -r1.79 -r1.80 src/sys/sys/lwp.h
cvs rdiff -r1.9 -r1.10 src/sys/sys/sleepq.h
cvs rdiff -r1.4 -r1.5 src/sys/sys/syncobj.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