Re: Shared memory Question using shmctl()

From: Anton Petrusevich (casus_at_att-ltd.biz)
Date: 08/30/05


Date: Tue, 30 Aug 2005 14:49:04 +0200

Maxim Yegorushkin wrote:

> If you do need to use shared memory, place a header at the beginning of
> it containing a mutex, a condition variable and an integer counter.

Can you show me a working code for different processes, not threads? Last
time I tried that that didn't work. I am not sure why, I used my own
locking mechanism then.

-- 
Anton Petrusevich