HomeSort by relevance Sort by last modified time
    Searched refs:rtask (Results 1 - 3 of 3) sorted by null

  /external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
gki_ulinux.c 643 UINT8 rtask; local
648 rtask = GKI_get_taskid();
649 GKI_TRACE_3("GKI_wait %d %x %d", rtask, flag, timeout);
650 if (rtask >= GKI_MAX_TASKS) {
655 gki_pthread_info_t* p_pthread_info = &gki_pthread_info[rtask];
658 GKI_TRACE_3("GKI_wait task=%i, pCond/pMutex = %x/%x", rtask, p_pthread_info->pCond, p_pthread_info->pMutex);
665 gki_cb.com.OSWaitForEvt[rtask] = flag;
667 /* protect OSWaitEvt[rtask] from modification from an other thread */
668 pthread_mutex_lock(&gki_cb.os.thread_evt_mutex[rtask]);
671 /* Check if anything in any of the mailboxes. There is a potential race condition where OSTaskQFirst[rtask]
775 UINT8 rtask = GKI_get_taskid(); local
    [all...]
  /external/libnfc-nci/src/gki/ulinux/
gki_ulinux.c 620 UINT8 rtask; local
625 rtask = GKI_get_taskid();
626 GKI_TRACE_3("GKI_wait %d %x %d", rtask, flag, timeout);
627 if (rtask >= GKI_MAX_TASKS) {
632 gki_pthread_info_t* p_pthread_info = &gki_pthread_info[rtask];
635 GKI_TRACE_3("GKI_wait task=%i, pCond/pMutex = %x/%x", rtask, p_pthread_info->pCond, p_pthread_info->pMutex);
642 gki_cb.com.OSWaitForEvt[rtask] = flag;
644 /* protect OSWaitEvt[rtask] from modification from an other thread */
645 pthread_mutex_lock(&gki_cb.os.thread_evt_mutex[rtask]);
648 /* Check if anything in any of the mailboxes. There is a potential race condition where OSTaskQFirst[rtask]
752 UINT8 rtask = GKI_get_taskid(); local
    [all...]
  /external/bluetooth/bluedroid/gki/ulinux/
gki_ulinux.c 765 UINT8 rtask; local
771 rtask = GKI_get_taskid();
773 GKI_TRACE("GKI_wait %d %x %d", (int)rtask, (int)flag, (int)timeout);
775 gki_cb.com.OSWaitForEvt[rtask] = flag;
777 /* protect OSWaitEvt[rtask] from modification from an other thread */
778 pthread_mutex_lock(&gki_cb.os.thread_evt_mutex[rtask]);
780 if (!(gki_cb.com.OSWaitEvt[rtask] & flag))
797 pthread_cond_timedwait(&gki_cb.os.thread_evt_cond[rtask],
798 &gki_cb.os.thread_evt_mutex[rtask], &abstime);
802 pthread_cond_wait(&gki_cb.os.thread_evt_cond[rtask], &gki_cb.os.thread_evt_mutex[rtask])
863 UINT8 rtask = GKI_get_taskid(); local
    [all...]

Completed in 46 milliseconds