Boost logo

Boost Users :

Subject: Re: [Boost-users] [msm] enque vs defer
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2014-07-21 15:08:25


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 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