Source-Changes archive

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

CVS commit: syssrc



Module Name:    syssrc
Committed By:   thorpej
Date:           Thu Jun  8 05:50:40 UTC 2000

Modified Files:
        syssrc/sys/kern: kern_synch.c
        syssrc/sys/sys: param.h proc.h

Log Message:
Change tsleep() to ltsleep(), which takes an interlock argument.  The
interlock is released once the scheduler is locked, so that a race
between a sleeper and an awakener is prevented in a multiprocessor
environment.  Provide a tsleep() macro that provides the old API.


To generate a diff of this commit:
cvs rdiff -r1.76 -r1.77 syssrc/sys/kern/kern_synch.c
cvs rdiff -r1.94 -r1.95 syssrc/sys/sys/param.h
cvs rdiff -r1.97 -r1.98 syssrc/sys/sys/proc.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