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