Boost logo

Boost Users :

Subject: Re: [Boost-users] [msm] enque vs defer
From: Raj Sambasivan (rajinikanth_at_[hidden])
Date: 2014-07-21 16:36:11


Thanks Christophe.

On Mon, Jul 21, 2014 at 8:08 PM, Christophe Henry <
christophe.j.henry_at_[hidden]> wrote:

> Hi Raj,
>
> >Hi boost-users/Christophe,
> >Does enqueue and defer use the same underlying queue, and when i defer
> can i validate my unit testcase to check on the queue size
> > using get_message_queue_size(). I did a quick test on defer and
> checking the queue size and
> >it didnt work may be there is something wrong in my test program but
> wanted to check if anyone tried this out.
> >thank you
> >-raj
>
> Hi Raj,
>
> No they don't use the same queue.
> What you want is the deferred queue. Use get_deferred_queue().
>
> HTH,
> Christophe
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net