added comment next to busy-wait code