Use lightweight simple mutexes for locking - no need for reentrancySigned-off-by: Ross Allan <[email protected]> (commit: 6ba58a0)