network: fix data race when accessing sending_sockets
authorYousong Zhou <zhouyousong@yunionyun.com>
Tue, 15 Oct 2019 02:48:32 +0000 (02:48 +0000)
committerYousong Zhou <zhouyousong@yunionyun.com>
Tue, 15 Oct 2019 07:57:49 +0000 (07:57 +0000)
commitc44c159065daf8bc7ab6c03287f281d317b1d5fd
tree44e95112dd38deba63b0a0cc773439710d471272
parent2d62935910e0bbb871705113aed6f19d9ae205f2
network: fix data race when accessing sending_sockets

This can happen with more than 1 WriteThreads
src/network.c