On 7/13/16 3:11 AM, Hans Petter Selasky wrote:
> Hi,
>
> Can we agree on the following return values for callout_stop() and
> callout_reset() and their variants:
>
> If the callout was scheduled regardless of being serviced or not,
> .Dv CALLOUT_RET_CANCELLED
> is returned.
> If the callout was
Hi,
Can we agree on the following return values for callout_stop() and
callout_reset() and their variants:
If the callout was scheduled regardless of being serviced or not,
.Dv CALLOUT_RET_CANCELLED
is returned.
If the callout was stopped and is still being serviced
.Dv CALLOUT_RET_DRAINING
On 07/13/16 10:49, Roger Pau Monné wrote:
On Tue, Jul 05, 2016 at 06:47:18PM +, Gleb Smirnoff wrote:
Author: glebius
Date: Tue Jul 5 18:47:17 2016
New Revision: 302350
URL: https://svnweb.freebsd.org/changeset/base/302350
Log:
The paradigm of a callout is that it has three consequent
On Tue, Jul 05, 2016 at 06:47:18PM +, Gleb Smirnoff wrote:
> Author: glebius
> Date: Tue Jul 5 18:47:17 2016
> New Revision: 302350
> URL: https://svnweb.freebsd.org/changeset/base/302350
>
> Log:
> The paradigm of a callout is that it has three consequent states:
> not scheduled ->
On Tue, 5 Jul 2016 18:47:18 + (UTC)
Gleb Smirnoff wrote:
> Author: glebius
> Date: Tue Jul 5 18:47:17 2016
> New Revision: 302350
> URL: https://svnweb.freebsd.org/changeset/base/302350
>
> Log:
> The paradigm of a callout is that it has three consequent states:
>
On Tue, Jul 05, 2016 at 11:48:56AM -0700, Ngie Cooper (yaneurabeya) wrote:
N> > Author: glebius
N> > Date: Tue Jul 5 18:47:17 2016
N> > New Revision: 302350
N> > URL: https://svnweb.freebsd.org/changeset/base/302350
N> >
N> > Log:
N> > The paradigm of a callout is that it has three consequent
> On Jul 5, 2016, at 11:47, Gleb Smirnoff wrote:
>
> Author: glebius
> Date: Tue Jul 5 18:47:17 2016
> New Revision: 302350
> URL: https://svnweb.freebsd.org/changeset/base/302350
>
> Log:
> The paradigm of a callout is that it has three consequent states:
> not
Author: glebius
Date: Tue Jul 5 18:47:17 2016
New Revision: 302350
URL: https://svnweb.freebsd.org/changeset/base/302350
Log:
The paradigm of a callout is that it has three consequent states:
not scheduled -> scheduled -> running -> not scheduled. The API and the
manual page assume that,