D7net Mini Sh3LL v1
Current File : //usr/share/alsa/../doc/netplan.io/../pollinate/../rsyslog/../liblzma5/../maria/examples/dining.pn |
typedef unsigned (1..3) phil_t;
typedef struct {
phil_t p,
enum { thinking, hungry, eating } s
} status;
place fork (0..#phil_t) phil_t: phil_t p: p;
place state (#phil_t) status: phil_t p: { p, thinking };
trans left
in { place state: { p, thinking }; place fork: p; }
out { place state: { p, hungry }; };
trans right
in { place state: { p, hungry }; place fork: +p; }
out { place state: { p, eating }; };
trans finish
in { place state: { p, eating }; }
out { place state: { p, thinking }; place fork: p, +p; };
deadlock true;
AnonSec - 2021 | Recode By D7net