tiglabs / jupiter

Jupiter is a high-performance 4-layer network load balance service based on DPDK.
MIT License
332 stars 133 forks source link

请问为啥work线程要加锁 #7

Closed Nocturnana closed 6 years ago

Nocturnana commented 6 years ago

看代码work线程操作的都是针对自身lcore_id下面的 没看到需要加锁的地方

muziding commented 6 years ago

master线程和worker线程共用一张vip表。参考函数virt_service_del_cmd_cb()lb_virt_service_find()

Nocturnana commented 6 years ago

看到了 谢谢