Search:

Type: Posts; User: MadDog

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    25,383

    Thanks Brewbuck, I tried what you suggested but...

    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...
  2. Replies
    14
    Views
    25,383

    Thanks brewbuck, Is there any way to know if 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...
  3. Replies
    14
    Views
    25,383

    So, does anyone know of a method which would...

    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...
  4. Replies
    14
    Views
    25,383

    Up until now, processes always performed...

    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...
  5. Replies
    14
    Views
    25,383

    I may be wrong but given that shmget returns an...

    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...
  6. Replies
    14
    Views
    25,383

    Mutex and Shared Memory Segment Questions.

    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...
Results 1 to 6 of 6