prevent mutex starvation with PT on non-Windows platforms