What are you trying to do?

Your description is abstract to the point where I won't try to answer, aside 
from writing that vlib_process_signal_event(...) is not your friend.

Thanks... Dave

From: Ni, Hongjun [mailto:hongjun...@intel.com]
Sent: Monday, March 6, 2017 9:05 PM
To: Dave Barach (dbarach) <dbar...@cisco.com>; 'vpp-dev@lists.fd.io' 
<vpp-dev@lists.fd.io>
Cc: pan.feng...@zte.com.cn; Zhou, Danny <danny.z...@intel.com>; Hu, Xuekun 
<xuekun...@intel.com>
Subject: Signal events between graph nodes within different threads

Hey all,

We have a question about signal events between graph nodes within different 
threads.

Here is the scenario of use case:
We have two threads: thread 1 and thread2, which run on different VPP programs.
Thread 1 has one graph node a,
Thread 2 has another graph node b.

Now we want to signal an event from thread 1's node a to thread 2's node b.
Can vlib_process_signal_event achieve this?
It appears that vlib_process_signal_event can signal an event between two graph 
nodes within the same thread.

If not, is there any other way to address above use case?

Thanks a lot,
Hongjun


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to