2015年11月23日月曜日

Multi Thread Processing

It's Multi Thread Processing that I am interested in. I'll show you some staffs below.

 I used thread.h in my calculation. It is found in the C++11 ,which is standard library, but you have to compile with "g++ -std=c++11 YOUR_CODE.cpp -pthread".

I referenced these site.
(1)sort
(2)PI

I surprised that Google warned me that my searching word was something odd when I searched "hardware_concurrency()".

hardware_concurrency() is how many threads on your system.
Here is in details below.

 Sites I introduced are Japanese Sites, so you may be difficult to understand what they say. Sorry, I'm Japanese. I'm practicing my writing skill in English, so I hope you to point out my writing faults in my page comment column below. Thank you for reading my page !