Using Cheddar to model the dining philosophers problem.

Aug 25, 2007 2 Replies

I'm using Cheddar to model the dining philosophers problem. I want to find out how to cause starvation only to one of the philosophers and how to cause deadlock (starvation for all the philosophers)



Thank you,



leonadavinci



BTW what is this Cheddar? causing deadlock or Mr. Professor starvaing shouldn't be difficult. Random sequence should do that while before calling the eating routine.

ali

Cheddar is a simulator of real time operating systems -->beru.univ- brest.fr/~singhoff/cheddar/

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required