Delegate monitoring, with a fairly glaring hole.
A bit more faff, to deal with genuinely dying nodes.
Do the monitoring on the correct node(!) and remove all that nonsense about node-wide monitoring.
Make the delegate monitoring API a drop in replacement for the built in one, and thus parameterise pmon and remove dmon.
Guard aganist the case where a delegate-executed function does some monitoring.
Get amqqueu_process to montor via delegate too, tighten delegate specs, simplify pmon parameterisation.
Make monitoring via delegates async. This has the downside that you can't monitor the same pid more than once from the same process, but that is enforced by pmon anyway which is the only client of this code. The upside is that cross-cluster basic.get doesn't deadlock...
Merge stable
Merged bug25644 into stable