Do all implementations of std::thread
for iOS internally include <pthread.h>
?
I know that some while ago, this only worked with g++ and -lpthread, but many upgrades have arrived since then.
The answer is positive. At least in Version 7.2 (7C68) of Xcode, /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread
has unconditional
#include <pthread.h>