Motorola Solutions interview question

Implement a "ping-pong" function using threads.