Assembly: DiningPhilosophers (in DiningPhilosophers.exe) Version: DCF34 r10560 DCF_3_4_10
public class Philosopher : WorkerThread
Thetype exposes the following members.
Run method override.(Overrides WorkerThreadRun.)
Each philosopher has ainstance. As a given philosopher does work, the log messages are written to a file whose filename corresponds to the SessionId property of that session. The log output will contain a log file for each session, as well as a default session log.
Credit for this dining philosophers solution goes to Bob Powell:
|No philosophers were harmed in the implementation of this example.|