This reverts commit 92ee040d. This ends up doing more damage than good on most devices. Go back to using a standard mutex.