RFR: Classic problem 01 dining philosophers
Michael Mirwaldt
github.com+6693355+mmirwaldt at openjdk.java.net
Thu Aug 26 20:32:39 UTC 2021
On Thu, 26 Aug 2021 17:28:34 GMT, Michael Mirwaldt <github.com+6693355+mmirwaldt at openjdk.org> wrote:
> This s my initial draft fo a sample testing solutions for the dining philosophers problem:
> - Wikipedia explains it on https://en.wikipedia.org/wiki/Dining_philosophers_problem
> - It runs within 13min on my machine.
> - It includes a short comment about the motivation for that sample and
> a reference link to the wikipedia article about the dining philosophers problem.
> - It offers 3 different solutions: with monitors, with reentrant locks and with semaphores
Can you please create a CODETOOLS ticket for this PR, @shipilev?
-------------
PR: https://git.openjdk.java.net/jcstress/pull/93
More information about the jcstress-dev
mailing list