Add a modern version of ivar_busywait