Thx Ben for a quick response. Then I must be doing something wrong. I never
get reached to second uv_read_start callback.


On Fri, Jan 23, 2015 at 3:52 AM, Ben Noordhuis <[email protected]> wrote:

> On Thu, Jan 22, 2015 at 11:16 PM, Devchandra Meetei <[email protected]>
> wrote:
> > Hi all
> > is this usage pattern okay
> > read_cb(....)
> > {
> >     ...
> >     /// do something
> >     if(test) {
> >          uv_read_stop();
> > }
> >
> >
> >
> > uv_read_start(handle, alloc_cb, read_cb);
> > uv_read_start(handle, alloc_cb, diff_read_cb);
> >
> > where diff_read_cb is new function?
>
> It is if there is a uv_read_stop() between the two uv_read_start() calls.
>
> --
> You received this message because you are subscribed to the Google Groups
> "libuv" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/libuv.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Warm Regards
--Dev
OpenPegasus Developer

"I'm one of those people that think Thomas Edison and the light bulb
changed the world more than Karl Marx ever did," Steve Jobs

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to