How do I make a wait() which doesn't use all processor time while waiting?

Printable View