You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the end of dining philosophers sample there is mentioned that Only two philosophers can eat at any one time, and so you’ll get some output like this:.
But it doesn't work for me this way. Only one philosopher can eat at one time in the provided solution.
In the beginning everyone takes left fork. Then after 150ms only Emma Goldman can take right fork (because she is sitting next to Foucault). After Emma finished eating Karl Mark can start because his right fork is available and so on.
The text was updated successfully, but these errors were encountered:
in the end of dining philosophers sample there is mentioned that
Only two philosophers can eat at any one time, and so you’ll get some output like this:
.But it doesn't work for me this way.
Only one philosopher can eat at one time in the provided solution.
In the beginning everyone takes left fork. Then after 150ms only Emma Goldman can take right fork (because she is sitting next to Foucault). After Emma finished eating Karl Mark can start because his right fork is available and so on.
The text was updated successfully, but these errors were encountered: