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

2016-07-20 Thread Bryan Drewery
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

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

2016-07-13 Thread Hans Petter Selasky
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

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

2016-07-13 Thread Hans Petter Selasky
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

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

2016-07-13 Thread Roger Pau Monné
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 ->

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

2016-07-08 Thread Alexander Kabaev
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: >

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

2016-07-05 Thread Gleb Smirnoff
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

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

2016-07-05 Thread Ngie Cooper (yaneurabeya)
> 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

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

2016-07-05 Thread Gleb Smirnoff
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,