+ 10
I didn't explore much, but the include works.
#include <future>
std::async
std::launch::async
http://en.cppreference.com/w/cpp/thread/async
http://en.cppreference.com/w/cpp/thread/launch
+ 12
neither pthread.h or thread works as far as i am aware
http://www.cplusplus.com/reference/thread/
+ 12
I once tried to use threads in C++,
I downloaded the library n header files for it, but the compiler shows huge numbers of error which changed my mood to use Java for threads...
+ 7
I will look into using that in a code.
I have not used it yet.
+ 1
just use boost threads.
+ 1
Hello
+ 1
Кто русский
+ 1
that's pretty cool stuff
+ 1
я
0
pasick program 1+1
0
Что?
0
@Ace OK.
0
Working with multithreads is very important and crucial for some programs. But you should know, concurrency can lead to high complexity in the code which lead to high vulnerability. Errors might occur and you need to know how detect and fix them. There are tools who doing that, such as checkamrx and others but it is recommended to do it also on your own.