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,
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
Thanks Christophe. On Mon, Jul 21, 2014 at 8:08 PM, Christophe Henry < christophe.j.henry@googlemail.com> 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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Christophe Henry
-
Raj Sambasivan