Upgrade atomic functions to work with C++ and fix thread-safe on Windows
- try to search for
<atomic>(C++), then<stdatomic.h>(C), then throw a cmake error. - split datab management from utils and make it work for C and C++
Edited by Julien Wadel
<atomic> (C++), then <stdatomic.h>(C), then throw a cmake error.