Hans Leidekker : secur32: Use a pthread mutex in the macOS backend.