Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 07/26/1999 16:01:01
Module Name: syssrc
Committed By: thorpej
Date: Mon Jul 26 23:01:00 UTC 1999
Modified Files:
syssrc/sys/kern: kern_synch.c
syssrc/sys/sys: proc.h
Log Message:
Implement wakeup_one(), which wakes up the highest priority process
first in line for the specified identifier. For use in places where
you don't want a Thundering Herd.
While here, add an optimization to wakeup() suggested by Ross Harvey.
To generate a diff of this commit:
cvs rdiff -r1.62 -r1.63 syssrc/sys/kern/kern_synch.c
cvs rdiff -r1.81 -r1.82 syssrc/sys/sys/proc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.