The data items that every dining philosopher needs.
Namespace: LaurelBridge.DCF.Examples.DiningPhilosophers
Assembly: DiningPhilosophers (in DiningPhilosophers.exe) Version: DCF34 r11538 DCF_3_4_24_20190319
Syntax
C#
public struct PhilosopherData
The PhilosopherData type exposes the following members.
Fields
Name | Description | |
---|---|---|
AmountToEat |
Amount To Eat
| |
LeftChopStick |
Left Chop Stick
| |
MaxSleep |
Max Sleep
| |
PhilosopherId |
Philosopher Id
| |
RightChopStick |
Right Chop Stick
| |
TotalFood |
Total Food
|
See Also