summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2004-04-06 23:08:49 +0000
committercperciva <cperciva@FreeBSD.org>2004-04-06 23:08:49 +0000
commite0793884f346394f3f82ae3270cb59491471d87c (patch)
tree5247a488f47c3b9407e8aca280eb04d121099b50 /etc
parenta356af4fc799bfdc962b4e80af259fed267f5015 (diff)
downloadFreeBSD-src-e0793884f346394f3f82ae3270cb59491471d87c.zip
FreeBSD-src-e0793884f346394f3f82ae3270cb59491471d87c.tar.gz
Introduce a callout_drain() function. This acts in the same manner as
callout_stop(), except that if the callout being stopped is currently in progress, it blocks attempts to reset the callout and waits until the callout is completed before it returns. This makes it possible to clean up callout-using code safely, e.g., without potentially freeing memory which is still being used by a callout. Reviewed by: mux, gallatin, rwatson, jhb
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud