s instead.
Cheers,
Ole
>
> Thanks,
> Leela sankar
>
> From: on behalf of Ole Troan
> Date: Monday, July 30, 2018 at 3:24 PM
> To: Leela Gudimetla
> Cc: "vpp-dev@lists.fd.io"
> Subject: [**EXTERNAL**] Re: [vpp-dev] Synchronous VPP-client over SHM
>
&g
: "vpp-dev@lists.fd.io"
Subject: [**EXTERNAL**] Re: [vpp-dev] Synchronous VPP-client over SHM
Hi,
You can run synchronously, but then you need to find a way to deal with
asynchronous events. Like the want_ apis. src/vpp-api/client has a knob to
choose if you want the rx thread or not.
At least in C, it’s perfectly possible: use
vl_client_connect_to_vlib_no_rx_pthread(...).
Follow the sketch in the default rx_thread_fn(..) pretty carefully. You’ll need
to manually implement a non-while(1) version of vl_msg_api_queue_handler(...).
Spin-waiting for replies will completely consu
Hi,
You can run synchronously, but then you need to find a way to deal with
asynchronous events. Like the want_ apis. src/vpp-api/client has a knob to
choose if you want the rx thread or not.
Cheers
Ole
> On 30 Jul 2018, at 23:19, Gudimetla, Leela Sankar wrote:
>
> Hello,
>
> We are writ