15 lines
364 B
Text
15 lines
364 B
Text
reference for async pthreads: http://www.cplusplus.com/reference/future/future/wait_for/
|
|
|
|
All other references used pretty much came from cplusplus.com
|
|
|
|
To compile and run:
|
|
|
|
I made a makefile that should compile the program regardless of the OS, but only tested linux.
|
|
|
|
commands should be:
|
|
|
|
compile: make, make clean
|
|
|
|
run: ./hw1prX
|
|
|
|
where X is the problem number.
|