I would like to create a thread pool which will execute the most recently submitted task. Any advice on how to accomplish this?
Thank you