hi all,
How can you share a semaphore variable amoung processes.
In the sem_init(sem_t*,int,int) function , if you make the second integer variable a non zero value, it says you can share the semaphore variable amoung processes.(this won't work...and I am using Sun solaris..). But do you have to allocate a shared memory area and pass this variable through this ?