Code that solves a common concurrent programming by using monitors.