An excercise in C++11 system for cross-thread events (functions, that should be called on specific thread)