philosophers - simple c++11 demo of "Dining philosophers problem".
Table of Contents
<path_to_build_dir>/philosophers <number_of_philosophers> <max_interval_ms>
See Wikipedia.
-
max_interval_ms
number of philosophers/forks (default = 64) -
max_interval_ms
maximal interval eating/thinking state for philosophers in ms (default = 10000)