Enforces single-threaded access at all times into libspotify.