Thanks Brewbuck,
I tried what you suggested but shmids() doesn't seem to exist in Linux man pages; the only reference I found of it is in the Sun Microsystem system calls man pages... I'm not a...
Type: Posts; User: MadDog
Thanks Brewbuck,
I tried what you suggested but shmids() doesn't seem to exist in Linux man pages; the only reference I found of it is in the Sun Microsystem system calls man pages... I'm not a...
Thanks brewbuck,
Is there any way to know if a shmid was created through a particular key? I don't really care if the segment is marked for deletion or not. I just want to have a common shared...
So, does anyone know of a method which would allow me to get the shmid of a shared memory segment that was previously marked for deletion? I need to be able to get a memory segment that previously...
Up until now, processes always performed pthread_mutex_init (whether or not they were the ones who created the shared segment)... I was under the impression that only the first call to...
I may be wrong but given that shmget returns an unique ID based on a key, I assume that if multiple processes attempt to create a memory segment with the same key at the same time, only one of them...
Hi all,
I'm writing a program that reads and writes from a device. The thing is that many independent instances of the program may be run at once and synchronization is required to make sure that...