summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/CMakeLists.txt
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-15 22:42:47 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-15 22:42:47 +0200
commit3f5b31d49139968a84c42d5d3067d06edefa3aae (patch)
treef860fa136bf8fcf4ee89881ac41bd39f6c7cd311 /src/ipcpd/normal/CMakeLists.txt
parent8f79d80e7fe7f52f310edddc73589f4f71457747 (diff)
downloadouroboros-3f5b31d49139968a84c42d5d3067d06edefa3aae.tar.gz
ouroboros-3f5b31d49139968a84c42d5d3067d06edefa3aae.zip
ipcpd: shim-udp: Revised locking
Simplified locking to take only two locks: the first lock guards the state of the ipcp. This lock must be held for writing on bootstrap and closing, and held for reading during all other operations. The second lock guards operations on flows, and must be held for writing during allocation and deallocation, and held for reading when sending sdu's. After adding a fd to FD_SET, the shim will wait for 1 ms to ensure that the FD is added to the select call.
Diffstat (limited to 'src/ipcpd/normal/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions