a type of user level spin lock (does not require machine exchange instruction)