I edited Async Class to use C++ Standard mutex and thread support
plus if you have this line in main.cpp inside the main function inside the db core source delete it
this line will close MySQL connections before making sure that all the queries are done (which may not save the last thing a player do before closing the server) plus it will dump a core file since the db core will abort without successful exit!
Using std::gurad (which unlock the mutex when the object is destroyed) instead of manually lock and unlock mutex
rewrote the Profiler class with std::chrono
#Note : Don't just copy and paste .. make a backup , test , then use it