View Single Post
Old 04-15-2018, 16:17
bugficks bugficks is offline
Join Date: Apr 2018
Posts: 8
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 3
Thanks Rcvd at 6 Times in 2 Posts
bugficks Reputation: 0
Originally Posted by mcp View Post
Data races yield undefined behavior, so the worst thing that could happen is that this code produces hard to find bugs/crashes. There is no such thing as "virtually thread safe"
good luck trying to get it to crash
anyways, this should fix it:
    static thread_local lib_map libMap;
Originally Posted by dosprog View Post
There is such a thing as the portability of the source code.
really? feel free to do so. i ve already posted a highly portable version
Reply With Quote