*** C++11 ONLY ***

race.cc          : variable read in the main and set by a separate thread 
randomWrite.cc   : threads writing a list of random numbers
synchroWrite.cc  : threads writing a list of random numbers with 
                   exclusive access to output stream
histoFill.cc     : threads filling a histogram with random numbers
synchroFill.cc   : threads filling a histogram with random numbers with 
                   exclusive access to the histogram
primeSimple.cc   : count prime numbers in an interval, dividing in 2 threads
primePCount.cc   : count prime numbers in an interval, dividing in 2 threads,
                   using a functor
primeResult.cc   : count prime numbers in an interval, dividing in 2 threads
                   and returning the result
primePTaskF.cc   : count prime numbers in an interval, dividing in 2 threads
                   and returning the result in a packaged_task
primePTaskC.cc   : count prime numbers in an interval, dividing in 2 threads
                   and returning the result in a packaged_task, using a functor
primeLambda.cc   : count prime numbers in an interval, dividing in 2 threads
                   and returning the result in a packaged_task, using lambda
primeFuture.cc   : count prime numbers in an interval, dividing in 2 threads
                   and getting the result through std::async


to compile
c++ -Wall -o race race.cc -std=c++11 -pthread
c++ -Wall -o  randomWrite  randomWrite.cc -std=c++11 -pthread
c++ -Wall -o synchroWrite synchroWrite.cc -std=c++11 -pthread
c++ -Wall `root-config --cflags` -o histoFill histoFill.cc -std=c++11 -pthread `root-config --libs`
c++ -Wall `root-config --cflags` -o synchroFill synchroFill.cc -std=c++11 -pthread `root-config --libs`
c++ -Wall -o primeSimple primeSimple.cc -std=c++11 -pthread
c++ -Wall -o primePCount primePCount.cc -std=c++11 -pthread
c++ -Wall -o primeResult primeResult.cc -std=c++11 -pthread
c++ -Wall -o primePTaskF primePTaskF.cc -std=c++11 -pthread
c++ -Wall -o primePTaskC primePTaskC.cc -std=c++11 -pthread
c++ -Wall -o primeLambda primeLambda.cc -std=c++11 -pthread
c++ -Wall -o primeFuture primeFuture.cc -std=c++11 -pthread
