Home
last modified time | relevance | path

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

/oneTBB/examples/graph/dining_philosophers/
H A Ddining_philosophers.cpp66 const int NumPhilosophers = sizeof(names) / sizeof(char *); variable
85 std::sprintf(charbuf, "%d", NumPhilosophers); in ParseCommandLine()
94 if (nPhilosophers < 2 || nPhilosophers > NumPhilosophers) { in ParseCommandLine()
96 << ") out of range [2:" << NumPhilosophers << "]\n"; in ParseCommandLine()