Re: Shared memory Question using shmctl()
From: Anton Petrusevich (casus_at_att-ltd.biz)
Date: 08/30/05
- Next message: Anton Petrusevich: "Re: unix fork()"
- Previous message: Pascal Bourguignon: "Re: How to check if a pipe is still being read, without writing anything to it?"
- In reply to: Maxim Yegorushkin: "Re: Shared memory Question using shmctl()"
- Next in thread: Thomas Maier-Komor: "Re: Shared memory Question using shmctl()"
- Reply: Thomas Maier-Komor: "Re: Shared memory Question using shmctl()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Aug 2005 23:16:45 +0200
Maxim Yegorushkin wrote:
> Did you make your mutex and condition variable process shared?
> (PTHREAD_PROCESS_SHARED)
My "man" hides "PTHREAD_PROCESS_SHARED" related information from me. I was
looking around but was unable to find any. Instead of that I found: "The
LinuxThreads implementation supports no attributes for conditions. The
functions on condition attributes are included only for compliance with the
POSIX standard.". And for mutexes there's no such attribute. May be my
Linux is not Unix enough?
> I don't have sample code.
That is why I was curious.
But I looked into W. Richard Stevens book and into /usr/include/pthread.h
and see that you are right, may be my manuals are outdated a bit. Thanks
for the info.
-- Anton Petrusevich
- Next message: Anton Petrusevich: "Re: unix fork()"
- Previous message: Pascal Bourguignon: "Re: How to check if a pipe is still being read, without writing anything to it?"
- In reply to: Maxim Yegorushkin: "Re: Shared memory Question using shmctl()"
- Next in thread: Thomas Maier-Komor: "Re: Shared memory Question using shmctl()"
- Reply: Thomas Maier-Komor: "Re: Shared memory Question using shmctl()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]