mac
文章平均质量分 58
newmandirl
这个作者很懒,什么都没留下…
展开
-
what is -fno-elide-constructors and how to use in cmake
about -fno-elide-constructors:https://blog.csdn.net/XiyouLinux_Kangyijie/article/details/78939291https://www.cnblogs.com/xkfz007/archive/2012/07/21/2602110.htmlhow to use in cmake:SET(CMAKE_CXX_FLAGS ...原创 2018-04-19 11:58:40 · 810 阅读 · 0 评论 -
macosx about atexit and subthreads
you can use the api atexit to register when the thread is going to exit, the api is from stdlib.h.1.here is personal thoughts after some test and debug:When main-thread executing atexit, other subthre...原创 2018-04-25 16:33:28 · 179 阅读 · 0 评论 -
multithread and static instances inside dll/dylib
In macosx, it seems that subthreads won't terminate until after any function which is registered to the api atexit is done. see this: https://blog.csdn.net/newmandirl/article/details/80079989When you'...原创 2018-04-25 18:10:37 · 179 阅读 · 0 评论