Added an example of parallel pi.
This commit is contained in:
@@ -12,7 +12,7 @@ CPPFLAGS=-Wall -g -std=c++0x -pthread
|
||||
# CXX=clang++
|
||||
# CPPFLAGS=-Wall -g -std=c++0x -stdlib=libc++ -L/opt/clang/lib -pthread
|
||||
|
||||
all: auto constexpr ilists init init_new lambda loops regex1 regex2 thread thread2 tuple
|
||||
all: auto constexpr ilists init init_new lambda loops pi regex1 regex2 thread thread2 tuple
|
||||
|
||||
run: all
|
||||
./auto
|
||||
@@ -30,7 +30,7 @@ run: all
|
||||
|
||||
|
||||
clean:
|
||||
@rm -vf auto constexpr core* ilists init init_new lambda loops regex1 regex2 thread thread2 tuple
|
||||
@rm -vf auto constexpr core* ilists init init_new lambda loops pi regex1 regex2 thread thread2 tuple
|
||||
|
||||
stress: thread2
|
||||
zsh stress.zsh
|
||||
|
||||
Reference in New Issue
Block a user