#include "os.hpp" #include "../detect.hpp" #if MIJIN_TARGET_OS == MIJIN_OS_LINUX #include #elif MIJIN_TARGET_OS == MIJIN_OS_WINDOWS // TODO #endif namespace mijin { // // internal defines // // // internal constants // // // internal types // // // internal variables // // // internal functions // // // public functions // void setCurrentThreadName(const char* threadName) { #if MIJIN_TARGET_OS == MIJIN_OS_LINUX pthread_setname_np(pthread_self(), threadName); #elif MIJIN_TARGET_OS == MIJIN_OS_WINDOWS #endif } } // namespace mijin