-Original Message-
> From: vpp-dev@lists.fd.io On Behalf Of Prashant
> Upadhyaya
> Sent: Sunday, November 11, 2018 2:37 AM
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Regarding communication from main thread to worker
> threads
>
> Hi,
>
> The function, vl
; From: vpp-dev@lists.fd.io On Behalf Of Prashant
> Upadhyaya
> Sent: Sunday, November 11, 2018 2:37 AM
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Regarding communication from main thread to worker threads
>
> Hi,
>
> The function, vl_api_rpc_call_main_thread, is useful
Check out src/plugins/perfmon/perfmon_periodic.c for one take on that problem...
Dave
-Original Message-
From: vpp-dev@lists.fd.io On Behalf Of Prashant Upadhyaya
Sent: Sunday, November 11, 2018 2:37 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Regarding communication from main thread
Hi,
The function, vl_api_rpc_call_main_thread, is useful to do message
transfer from worker thread to the main thread.
Is there any mechanism where I can call a function in worker thread
from the main thread ? That is, just the reverse of the above.
I can use interrupts (vlib_node_set_interrupt_