fallbackswitch: fix and prevent deadlocks
I'm trying to drain fallbackswitch
's mutexes swamp.
- ensure strict ordering when taking mutexes
- prevent deadlocks in chain function
- implement the stream lock protection suggested in #202 (comment 1387170)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
I'm trying to drain fallbackswitch
's mutexes swamp.