Is the tevent tutorial correct?
Richard Sharpe
realrichardsharpe at gmail.com
Wed Jan 21 07:41:28 MST 2015
On Wed, Jan 21, 2015 at 6:38 AM, Andreas Schneider <asn at samba.org> wrote:
> On Tuesday 20 January 2015 20:48:28 Richard Sharpe wrote:
>> Hi folks,
>>
>> I was reading this page https://tevent.samba.org/tevent_data.html
>> prior to taking some people through this tomorrow, and I extracted the
>> code in the tutorial and ran it.
>>
>> The tutorial claims I should see this:
>> ----------
>> a->x: 9
>> b->y: 10
>> c->y: 10
>> ----------
>>
>> However, I see this:
>>
>> ---------------
>> _send
>> a->x: 10
>> b->y: 9
>> c->y: 9
>> Quit
>> ---------------
>
> Might be a typo in the tutorial. Great that someone looks into it.
> Improvements are very welcome!
I am also trying to understand the intent. The comments suggest that
the three numbers are pulled from different instances of the state
variables but that does not seem to be the case.
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
More information about the samba-technical
mailing list