staticboolg_bUseLock=false;/// This is used because windows does not support using mutexes under dll init(which is where global initialization is handled)
staticstd::atomic<bool>g_bUseLock{false};/// This is used because windows does not support using mutexes under dll init(which is where global initialization is handled)