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:           Thu Mar 29 17:34:39 UTC 2007

Modified Files:
        src/sys/kern: kern_condvar.c kern_sleepq.c
        src/sys/sys: condvar.h lwp.h sleepq.h

Log Message:
- cv_wakeup: remove this. There are ~zero situations where it's useful.
- cv_wait and friends: after resuming execution, check to see if we have
  been restarted as a result of cv_signal. If we have, but cannot take
  the wakeup (because of eg a pending Unix signal or timeout) then try to
  ensure that another LWP sees it. This is necessary because there may
  be multiple waiters, and at least one should take the wakeup if possible.
  Prompted by a discussion with pooka@.
- typedef struct lwp lwp_t;
- int -> bool, struct lwp -> lwp_t in a few places.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/kern/kern_condvar.c
cvs rdiff -r1.7 -r1.8 src/sys/kern/kern_sleepq.c
cvs rdiff -r1.2 -r1.3 src/sys/sys/condvar.h
cvs rdiff -r1.57 -r1.58 src/sys/sys/lwp.h
cvs rdiff -r1.5 -r1.6 src/sys/sys/sleepq.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