Ruby

Ruby Queue Pop with Timeout

How to Ruby queue pop with timeout without using ruby Timeout, or running it in a separate thread and tossing in an exception when you want to stop.