+ 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
30th Aug 2017, 3:31 PM
Kirk Schafer
Kirk Schafer - avatar
+ 12
neither pthread.h or thread works as far as i am aware http://www.cplusplus.com/reference/thread/
30th Aug 2017, 1:27 AM
jay
jay - avatar
+ 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...
30th Aug 2017, 2:37 AM
Sachin Artani
Sachin Artani - avatar
+ 7
I will look into using that in a code. I have not used it yet.
30th Aug 2017, 2:38 AM
Manual
Manual - avatar
+ 1
just use boost threads.
30th Aug 2017, 4:32 PM
Cain Eviatar
Cain Eviatar - avatar
30th Aug 2017, 11:28 PM
Carlos Augusto
Carlos Augusto - avatar
+ 1
Hello
1st Sep 2017, 7:33 AM
Dowlet Gulmanow
Dowlet Gulmanow - avatar
+ 1
Кто русский
1st Sep 2017, 7:33 AM
Dowlet Gulmanow
Dowlet Gulmanow - avatar
+ 1
that's pretty cool stuff
2nd Sep 2017, 11:32 AM
Ankur Chauhan
Ankur Chauhan - avatar
+ 1
я
4th Sep 2017, 6:07 AM
Dmitrii Shestakov
0
pasick program 1+1
30th Aug 2017, 4:20 PM
aatherson
0
Что?
30th Aug 2017, 7:38 PM
RaIDooN
RaIDooN - avatar
0
@Ace OK.
30th Aug 2017, 7:40 PM
RaIDooN
RaIDooN - avatar
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.
30th Aug 2017, 8:56 PM
Ben hart