Talk:Dining philosophers: Difference between revisions
Content added Content deleted
(added a section name to the first talk topic, this will also place the TOC correctly.) |
|||
Line 1: | Line 1: | ||
== grabbing forks == |
|||
'''Python solution''' "If a philosopher acquires one fork but can't acquire the second, he releases the first fork before waiting to acquire the other (which then becomes the first fork acquired)." |
'''Python solution''' "If a philosopher acquires one fork but can't acquire the second, he releases the first fork before waiting to acquire the other (which then becomes the first fork acquired)." |
||