Searched refs:pQueue (Results 1 – 1 of 1) sorted by relevance
55 phDal4Nfc_message_queue_t* pQueue; in phDal4Nfc_msgget() local58 pQueue = in phDal4Nfc_msgget()60 if (pQueue == NULL) return -1; in phDal4Nfc_msgget()61 memset(pQueue, 0, sizeof(phDal4Nfc_message_queue_t)); in phDal4Nfc_msgget()62 if (pthread_mutex_init(&pQueue->nCriticalSectionMutex, NULL) == -1) { in phDal4Nfc_msgget()63 free(pQueue); in phDal4Nfc_msgget()66 if (sem_init(&pQueue->nProcessSemaphore, 0, 0) == -1) { in phDal4Nfc_msgget()67 free(pQueue); in phDal4Nfc_msgget()71 return ((intptr_t)pQueue); in phDal4Nfc_msgget()86 phDal4Nfc_message_queue_t* pQueue = (phDal4Nfc_message_queue_t*)msqid; in phDal4Nfc_msgrelease() local[all …]