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:   ozaki-r
Date:           Fri Nov 21 09:40:11 UTC 2014

Modified Files:
        src/sys/dev/usb: ohci.c
        src/sys/kern: kern_ktrace.c

Log Message:
Replace callout_stop with callout_halt

In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.

In this case, we need to pass an interlock to callout_halt to wait for
the callout complete.

Reviewed by riastradh@.


To generate a diff of this commit:
cvs rdiff -u -r1.253 -r1.254 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.165 -r1.166 src/sys/kern/kern_ktrace.c

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