Talk:c/thread/thrd sleep

Seems the example and the compiler do not go well together?

main.cpp:1:10: fatal error: threads.h: No such file or directory 1 | #include      |          ^13:02, 4 September 2019 (PDT)13:02, 4 September 2019 (PDT) compilation terminated.

Mwe (talk) 13:02, 4 September 2019 (PDT)
 * yes, the online compiler used here still has a glibc that predates C11 support (threads.h came out in 2.28). --Cubbi (talk) 13:21, 4 September 2019 (PDT)