Till KTH:s startsida Till KTH:s startsida

Visa version

Version skapad av Johan Montelius 2016-02-17 15:07

Visa < föregående | nästa >
Jämför < föregående | nästa >

Dining filosophers

Five filosphers contemplating life and eating noodles is a classical problem. If they are not that hungry things will work without problem but if they all eat more than they dream things will be more problematic. 

If you have time and want to see how the philosophers behave, you could use this little gui. Start a gui process for each philosopher and let i send messages to it depending on its state. To work you need toe have the wx module working - it should if you have the Erlang Solutions version of the Erlang system.