Hello!

First of all I want to appologise that my english is not very good but I hope you`ll understand me.

I have source code of C program and the only thing i have to do is change 1 condition to another, but im not very familiar with C programming thats why Im looking for help.

So, the assigment for this program is :
Process(co-ordinator) which creates 10 working processes. These processes are waiting to be awaken by the co-ordinator, they do some job and wait again. Co-ordinator passes marker (integer) to the first process and awakes it. Co-ordinator adds 1 to the marker and passes it to the next process. Coordinator awakes next process, which executes the same actions and etc. After the marker passes through all processes, coordinator prints its content. FOr signaling the processes use signals and for passing the marker use messages.

I have the ready program but using semaphores insted of signals.

kursova.c -> Source code of the program
kursova.c - 4shared.com - online file sharing and storage - download

sem.c -> Source code for semaphore
sem.c - 4shared.com - online file sharing and storage - download

My task is to use signals instead of semaphores. I`ll be very grateful is someone can help me!

Thanks in advance !!