1
iOS的std :: thread的所有實現內部包含?std :: iOS上的線程
我知道前段時間,this only worked with g++ and -lpthread,但是很多升級從那時起就已經到來。
iOS的std :: thread的所有實現內部包含?std :: iOS上的線程
我知道前段時間,this only worked with g++ and -lpthread,但是很多升級從那時起就已經到來。
答案是肯定的。至少在Xcode的7.2版本(7C68)中,/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread
已經無條件
#include <pthread.h>