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: Fri Mar 28 20:44:39 UTC 2008
Modified Files:
src/sys/kern: kern_timeout.c
src/sys/sys: callout.h
Log Message:
Enable blocking synchronization for callouts as discussed at length on
tech-kern last year. Instead of modifying callout_stop, add a new
routine (callout_halt) which will sleep if the callout is already in
flight. Note that if a callout can take locks, the caller of callout_halt
must not hold any of those locks - otherwise the two could deadlock.
To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 src/sys/kern/kern_timeout.c
cvs rdiff -r1.26 -r1.27 src/sys/sys/callout.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