Search:

Type: Posts; User: cjrcl

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    25,413

    For shmget() prohibbits simutaneous...

    For shmget() prohibbits simutaneous initializations of a block of memory area, one does not have to rely on pthread_once() to get the GlobalMutex therein initialized instead of taking advantage of...
  2. Replies
    14
    Views
    25,413

    ftok() may return key in "int shmget(key_t key,...

    ftok() may return key in "int shmget(key_t key, int size, int shmflg);".
    BTW, PTHREAD_PROCESS_SHARED and PTHREAD_MUTEX_RECURSIVE are mutually exclusive.
Results 1 to 2 of 2