mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
- RemoveRegion() held the session-wide shmem mutex and the local region mutex while it joined the ack threads of the region - the ack receiver calls the user callback for each outstanding ack during the linger period; a callback that calls into the transport (e.g. GetRegionInfo(), or a message destruction that opens a region) waits for one of these mutexes, and the destruction never ends - the shmem mutex is shared by all processes of the session, so the other processes hang also, and new processes hang at startup - stop the acks without a lock, then lock each mutex separately and only for the access to the shared data - add a regression test Refs: #334 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>