any chance to rewrite this using STL libraries and more conventional syntax?
Specifically
- std::thread and its helper classes instead of the Windows-only Thread, Monitor, gcnew, etc.
- normal pointers, references, smart pointers instead of the Object^ "managed heap reference" or so
- std::cout instead of Console::WriteLine