The data items that every dining philosopher needs.
Namespace: LaurelBridge.DCFExamples.DiningPhilosophers
Assembly: DiningPhilosophers (in DiningPhilosophers.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
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