Home
last modified time | relevance | path

Searched refs:philosophers (Results 1 – 5 of 5) sorted by relevance

/oneTBB/examples/graph/dining_philosophers/
H A DREADME.md4 This program runs some number of philosophers in parallel, each thinking and then waiting for chops…
20 …ng_philosophers [n-of_threads=value] [n-of-philosophers=value] [verbose] [-h] [n-of_threads [n-of-
24 * `n-of-philosophers` - how many philosophers, from 2-26.
H A Ddining_philosophers.cpp270 std::vector<philosopher> philosophers; in main() local
271 philosophers.reserve(num_philosophers); in main()
282 philosophers.push_back( in main()
286 std::cout << "Built philosopher " << philosophers[i] << "\n"; in main()
289 g, oneapi::tbb::flow::unlimited, think_node_body(philosophers[i]))); in main()
291 new eat_node_type(g, oneapi::tbb::flow::unlimited, eat_node_body(philosophers[i]))); in main()
293 g, oneapi::tbb::flow::unlimited, forward_node_body(philosophers[i]))); in main()
324 philosophers[i].check(); in main()
/oneTBB/examples/graph/
H A DREADME.md8 | dining_philosophers | An implementation of dining philosophers in graph using the reserving `join…
/oneTBB/examples/
H A DREADME.md11 | graph/dining_philosophers | An implementation of dining philosophers in a graph using the reservi…
/oneTBB/doc/GSG/
H A Dsamples.rst19 …* `An implementation of dining philosophers in graph using the reserving join_node <https://github…