Claude
f4e265a562
fix(shmem): lock the region mutexes in one order
...
- GetRegion() locks the local region mutex first and then the
session-wide shmem mutex; CreateRegion() locked them in the opposite
order
- a thread that creates a region and a thread that opens a region of
another process in the same session can deadlock (ABBA)
- lock the local region mutex first also in CreateRegion()
- add a regression test
Refs: #334
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-03 13:37:01 +01:00
..
2023-06-13 21:24:40 +02:00
2022-08-11 15:30:25 +02:00
2024-02-19 22:09:54 +01:00
2026-11-03 13:37:01 +01:00
2022-08-12 01:50:14 +02:00
2026-06-10 19:31:19 +02:00
2026-11-03 13:28:53 +01:00
2026-06-10 19:31:19 +02:00
2025-01-07 17:41:30 +01:00
2026-01-05 14:11:19 +01:00
2026-06-09 23:00:58 +02:00
2025-01-07 17:41:30 +01:00
2026-06-09 23:00:58 +02:00
2022-08-11 15:30:25 +02:00
2023-03-03 12:49:37 +01:00
2025-01-23 15:35:26 +01:00
2025-01-23 15:35:26 +01:00
2022-08-11 15:30:25 +02:00
2022-08-11 15:30:25 +02:00
2022-08-11 15:30:25 +02:00
2022-08-11 15:30:25 +02:00
2022-08-11 15:30:25 +02:00
2022-08-11 15:30:25 +02:00
2022-08-11 15:30:25 +02:00
2022-08-11 15:30:25 +02:00
2022-08-11 15:30:25 +02:00
2021-09-07 20:53:16 +02:00
2022-01-24 06:40:24 +01:00
2021-01-25 13:46:40 +01:00
2022-08-11 15:30:25 +02:00
2025-06-13 08:02:06 +02:00
2022-01-24 06:40:24 +01:00
2025-01-07 17:41:30 +01:00
2026-06-09 23:00:58 +02:00
2022-01-24 06:40:24 +01:00
2021-10-19 10:22:19 +02:00
2026-06-09 23:00:58 +02:00
2023-03-06 15:32:48 +01:00
2026-06-09 23:00:58 +02:00
2021-10-19 10:22:19 +02:00
2022-08-11 15:30:25 +02:00
2026-06-09 23:00:58 +02:00
2025-01-07 17:34:22 +01:00
2022-08-11 15:30:25 +02:00
2023-03-06 15:32:48 +01:00
2025-01-23 15:35:26 +01:00
2019-07-10 19:35:18 +02:00
2022-08-11 15:30:25 +02:00
2022-08-11 15:30:25 +02:00
2024-05-23 15:54:24 +02:00
2023-11-10 13:13:13 +01:00
2023-02-22 20:55:15 +01:00
2022-03-21 16:28:43 +01:00
2021-09-27 12:04:07 +02:00
2021-01-25 13:46:40 +01:00
2026-06-09 23:00:58 +02:00
2021-01-25 13:46:40 +01:00
2022-09-14 07:37:52 +02:00
2025-01-07 17:41:30 +01:00
2023-03-02 11:20:35 +01:00
2025-01-07 17:41:30 +01:00
2025-01-07 17:41:30 +01:00
2026-06-09 23:00:58 +02:00
2025-01-09 17:09:57 +01:00