Delayed job scheduler
Design and code a scheduler that accepts a job and a delay and runs the job after that many seconds. Cover the data structure that finds the next due job, the worker thread or threads, cancelling a job, and thread safety.
No answer yet. Write the first one; the best answer gets endorsed.
