Re: Shared memory Question using shmctl()
From: Anton Petrusevich (casus_at_att-ltd.biz)
Date: 08/30/05
- Next message: QNils_O=2E_Sel=E5sdal=22?=: "Re: inet_ntoa desn't work on Solaris8?"
- Previous message: Torsten Mueller: "Re: Using C macro with Flex/Lex ?"
- In reply to: Maxim Yegorushkin: "Re: Shared memory Question using shmctl()"
- Next in thread: Maxim Yegorushkin: "Re: Shared memory Question using shmctl()"
- Reply: Maxim Yegorushkin: "Re: Shared memory Question using shmctl()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: QNils_O=2E_Sel=E5sdal=22?=: "Re: inet_ntoa desn't work on Solaris8?"
- Previous message: Torsten Mueller: "Re: Using C macro with Flex/Lex ?"
- In reply to: Maxim Yegorushkin: "Re: Shared memory Question using shmctl()"
- Next in thread: Maxim Yegorushkin: "Re: Shared memory Question using shmctl()"
- Reply: Maxim Yegorushkin: "Re: Shared memory Question using shmctl()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]