6 ms·
I agree, OP could have used the C11 feature, <threads.h>
by readerrrr 12y ago
I agree, OP could have used the C11 feature, <threads.h>
- DSMan195276 12y agoTo be fair, you'll probably have better luck finding people who can compile it if you use pthreads.h vs. threads.h. IIRC glibc doesn't have threads.h implemented, and I don't know of any C standard libraries that do. pthreads is fairly universal even if it's not standard C, and at the very least it's much more universal then threads.h is at the moment.
- justincormack 12y agoMusl libc will have one in the next release it seems. It is the only one I know of.
- jevinskie 12y agoCorrect, I was just going to chime in about this. Musl is very impressive with its compact size, correctness, Drepper-less-ness =P, and speed of implementing new standards. http://thread.gmane.org/gmane.linux.lib.musl.general/5952 http://thread.gmane.org/gmane.linux.lib.musl.general/5952
- readerrrr 12y agoPelles IDE has full C11 support.
- deleted 12y ago[deleted]