Threaded Event Scheduler in C++11