summaryrefslogtreecommitdiff
path: root/src/lib/irm.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-10-07 10:06:22 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-10-07 10:11:00 +0200
commit15ccd8ac0d1a7bfab2db3929200f3926c1e05db2 (patch)
tree2a338353303e270ff0f670e3e4c24fc4d4e8fc07 /src/lib/irm.c
parent7dcacfbc94386e155650aaaa1a8f56cfb6fc53f9 (diff)
downloadouroboros-15ccd8ac0d1a7bfab2db3929200f3926c1e05db2.tar.gz
ouroboros-15ccd8ac0d1a7bfab2db3929200f3926c1e05db2.zip
ipcpd: Handle cancellation while writing LSAs
This adds a cleanup handler to ensure the lock is released in the event that the thread is cancelled during a write. An alternative solution could be to make the flow write in a non-blocking way (only the blocking write contains an execution path that has a cancellation point). Fixes #55
Diffstat (limited to 'src/lib/irm.c')
0 files changed, 0 insertions, 0 deletions