I am currently studying Pascal for a university course in concurrent and distributed systems. My lecturer has consented to me posting this question as it does not help me in my assessment.
I have uploaded two files, semdem.pas and multa.inc. I can upload turbo pascal compiler if needed too. When semdem is run, if it is blocked by a semaphore, it states so in the top right hand corner, I can find the text in the compiler and can change this to whatever I like. I would like it to actually read out the name of the semaphore, in this instance the semaphore is named s. However in my dining philosophers problem I have named each chopstick C12, C23 etc.
Many thanks Ed.