Quiting dynamic scheduler attempt in C++, it is a mess.