threads.h

clang c11 threads.h not found

。_饼干妹妹 提交于 2019-12-12 08:27:04
问题 I am trying to setup a c11 thread example in xcode... but it doesn't seem to have the threads.h header, though it isn't complaning about the macro described here: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf __STDC_NO_THREADS__The integer constant 1, intended to indicate that the implementation does not support the <threads.h> header. 回答1: Looks like almost nothing supports the threads feature in C11... maybe I will try to get it into clang... 回答2: With the clang on my machine (v