Hi Satya, 

Probably you can just replicate what the api rx-thread is doing, i.e., 
rx_thread_fn. In particular, take a look at vl_msg_api_queue_handler. 

Florin

> On Sep 11, 2019, at 3:26 AM, Satya Murthy <satyamurthy1...@gmail.com> wrote:
> 
> Hi ,
> 
> We are trying to develop a VPP API client which needs synchronous reply 
> handling.
> Hence, we were thinking of NOT having a separate pthread for receiving the 
> response from VPP.
> We are planning to use no_rx_pthread version of connect api.
> 
> Is there any example code to receive and handle the response synchronously.
> I see all the examples are using separate pthread for receiving.
> 
> Any input on this will be of great help.
> 
> -- 
> Thanks & Regards,
> Murthy -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#13952): https://lists.fd.io/g/vpp-dev/message/13952
> Mute This Topic: https://lists.fd.io/mt/34101834/675152
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [fcoras.li...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13956): https://lists.fd.io/g/vpp-dev/message/13956
Mute This Topic: https://lists.fd.io/mt/34101834/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to