Commit 3924f9e
shared data-mover: demux/transport lock-order
* release rxmu (protecting receivers map and demux: xid => receiver) before calling Close()
- no need to hold this particular mutex over unrelated function(s)
- there's an r-lock on the receive (SDM.recv) side
* when dropping Rx, differentiate SDM close vs xaction abort
----
* sperately, cmn.SparseWarn to show up in the source where it belongs
Signed-off-by: Alex Aizman <alex.aizman@gmail.com>1 parent 227ce54 commit 3924f9e
2 files changed
Lines changed: 17 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
| 216 | + | |
218 | 217 | | |
219 | 218 | | |
220 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
| |||
305 | 307 | | |
306 | 308 | | |
307 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
308 | 314 | | |
309 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
310 | 319 | | |
311 | | - | |
312 | 320 | | |
313 | 321 | | |
314 | | - | |
315 | | - | |
316 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
317 | 326 | | |
318 | 327 | | |
319 | 328 | | |
320 | | - | |
321 | 329 | | |
322 | 330 | | |
323 | 331 | | |
| |||
0 commit comments