Multithreaded prime finder written in C++
- pthread
- c++11
make
, to change the compiler use make CXX=compiler
, make OUTPUT=whatever
to change the output file, and to change the arguments use make LIBS=whatever
. They can be combined. Default values:
CXX= g++
LIBS= -pthread -std=c++11
OUTPUT= primer
./primer [limit]
<prime>\n