> I want to send some events from VPP to client over shared memory. The trigger 
> for these events are being detected on my worker threads. 
> 
> Can I directly send them from the worker threads or do I need to send them to 
> the main thread first from where they will be forwarded over shared memory ?

You need to send them to the main thread.
You can use vl_api_rpc_call_main_thread()

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

View/Reply Online (#12455): https://lists.fd.io/g/vpp-dev/message/12455
Mute This Topic: https://lists.fd.io/mt/30295283/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