Commit 540e09d
committed
[lldb-dap] Fix mutex acquisition order for modules event. (llvm#163821)
The modules event requires the `APIMutex` to create the module load
address. this may happen at the same time the `module request` is
handled.
The modules request also requires the `APIMutex` and the `modules_mutex,
set the order to acquire the mutexes.
rdar://165135861
(cherry picked from commit f67880a)1 parent 45b2f1b commit 540e09d
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
1357 | 1358 | | |
1358 | 1359 | | |
1359 | 1360 | | |
1360 | | - | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1361 | 1366 | | |
1362 | 1367 | | |
1363 | 1368 | | |
| |||
0 commit comments