Searched refs:pMonitor (Results 1 – 2 of 2) sorted by relevance
46 static phLibNfc_Handle getIncomingSocket(nfc_jni_native_monitor_t * pMonitor, in getIncomingSocket() argument53 LIST_FOREACH(pListenData, &pMonitor->incoming_socket_head, entries) in getIncomingSocket()81 nfc_jni_native_monitor_t * pMonitor = nfc_jni_get_monitor(); in com_NativeLlcpServiceSocket_doAccept() local103 pthread_mutex_lock(&pMonitor->incoming_socket_mutex); in com_NativeLlcpServiceSocket_doAccept()104 while ((hIncomingSocket = getIncomingSocket(pMonitor, hServerSocket)) == NULL) { in com_NativeLlcpServiceSocket_doAccept()105 pthread_cond_wait(&pMonitor->incoming_socket_cond, &pMonitor->incoming_socket_mutex); in com_NativeLlcpServiceSocket_doAccept()107 pthread_mutex_unlock(&pMonitor->incoming_socket_mutex); in com_NativeLlcpServiceSocket_doAccept()180 nfc_jni_native_monitor_t * pMonitor = nfc_jni_get_monitor(); in com_NativeLlcpServiceSocket_doClose() local187 pthread_mutex_lock(&pMonitor->incoming_socket_mutex); in com_NativeLlcpServiceSocket_doClose()189 pthread_cond_broadcast(&pMonitor->incoming_socket_cond); in com_NativeLlcpServiceSocket_doClose()[all …]
761 nfc_jni_native_monitor * pMonitor = nfc_jni_get_monitor(); in nfc_jni_llcp_linkStatus_callback() local796 while (!LIST_EMPTY(&pMonitor->incoming_socket_head)) in nfc_jni_llcp_linkStatus_callback()798 pListenData = LIST_FIRST(&pMonitor->incoming_socket_head); in nfc_jni_llcp_linkStatus_callback()839 nfc_jni_native_monitor * pMonitor = nfc_jni_get_monitor(); in nfc_jni_llcp_transport_listen_socket_callback() local843 pthread_mutex_lock(&pMonitor->incoming_socket_mutex); in nfc_jni_llcp_transport_listen_socket_callback()854 LIST_INSERT_HEAD(&pMonitor->incoming_socket_head, pListenData, entries); in nfc_jni_llcp_transport_listen_socket_callback()857 pthread_cond_broadcast(&pMonitor->incoming_socket_cond); in nfc_jni_llcp_transport_listen_socket_callback()860 pthread_mutex_unlock(&pMonitor->incoming_socket_mutex); in nfc_jni_llcp_transport_listen_socket_callback()