iceoryx icon indicating copy to clipboard operation
iceoryx copied to clipboard

Solve possible deadlock in ChunkDistributor

Open elfenpiff opened this issue 1 year ago • 3 comments

Required information

Taken from todo in chunk_distributor.inl: currently we have a deadlock / mutex destroy vulnerability if the ThreadSafePolicy is used and a sending application dies when having the lock for sending. If the RouDi daemon wants to cleanup or does discovery changes we have a deadlock or an exception when destroying the mutex As long as we don't have a multi-threaded lock-free ChunkDistributor or another concept we die here

elfenpiff avatar Oct 04 '22 16:10 elfenpiff