]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r243341:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Dec 2012 00:54:49 +0000 (00:54 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Dec 2012 00:54:49 +0000 (00:54 +0000)
commit89d9c74a9d95b1b8cc81a150d4ce0610179eec34
treefddb174cf56a10ddea0809597d19f320661c8ba1
parent090b8e2b88bca854257dabb86cbae61cc12087aa
MFC r243341:
Add a special meaning to the negative ticks argument for
taskqueue_enqueue_timeout().  Do not rearm the callout if it is
already armed and the ticks is negative.  Otherwise rearm it to fire
in abs(ticks) ticks in the future.

git-svn-id: svn://svn.freebsd.org/base/stable/9@243850 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/subr_taskqueue.c