The code is pretty well documented. I'd recommend looking through the code (e.g., lib/classifier.h) and looking for words like "thread" and "rcu".
--Justin > On Dec 15, 2016, at 12:59 PM, Yuxin Ren <[email protected]> wrote: > > Yes, I am learning the code now. > But I do not know which code provide synchronization around the shared > data structure. > > Could you give me some guidance? > > Thank you very much! > Yuxin > > On Thu, Dec 15, 2016 at 3:54 PM, Justin Pettit <[email protected]> wrote: >> >>> On Dec 15, 2016, at 7:54 AM, Yuxin Ren <[email protected]> wrote: >>> >>> Hi, >>> >>> I am a beginner to OVS. >>> I have some basic questions about OVS. >>> >>> Is it a multiple threads application? >>> If so, what data structures are shared by multiple threads? >>> What synchronization technique is used to protect shared data structures? >> >> Yes, it's multithreaded. Have you tried looking at the code? >> >> --Justin >> >> _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
