Mutex re-entrancy

Thanks for all the help - seems like the wheel has already been invented
several times over :slight_smile:

I’ll use either monitor/sync once I have had a look at them

Cheers,
Martin