svn commit: r290664 - in head: share/man/man9 sys/kern sys/sys

Hans Petter Selasky hps at selasky.org
Tue Nov 10 14:57:26 UTC 2015


On 11/10/15 15:49, Randall Stewart wrote:
> +#define callout_async_drain(c, d)					\
> +    _callout_stop_safe(c, 0, d)

Hi,

Like commented in D4076, I think the callout_async_drain() function 
should take a second void pointer argument, which is passed to the 
drain function, instead of re-using the pointer argument passed to 
callout_reset(), because that will make many to one, N:1, asynchronous 
drain possible.

--HPS


More information about the svn-src-all mailing list