Searched refs:pMonitor (Results 1 – 2 of 2) sorted by relevance
47 static phLibNfc_Handle getIncomingSocket(nfc_jni_native_monitor_t * pMonitor, in getIncomingSocket() argument54 LIST_FOREACH(pListenData, &pMonitor->incoming_socket_head, entries) in getIncomingSocket()82 nfc_jni_native_monitor_t * pMonitor = nfc_jni_get_monitor(); in com_NativeLlcpServiceSocket_doAccept() local106 pthread_mutex_lock(&pMonitor->incoming_socket_mutex); in com_NativeLlcpServiceSocket_doAccept()107 … while ((hIncomingSocket = getIncomingSocket(pMonitor, hServerSocket)) == (phLibNfc_Handle)NULL) { in com_NativeLlcpServiceSocket_doAccept()108 pthread_cond_wait(&pMonitor->incoming_socket_cond, &pMonitor->incoming_socket_mutex); in com_NativeLlcpServiceSocket_doAccept()110 pthread_mutex_unlock(&pMonitor->incoming_socket_mutex); in com_NativeLlcpServiceSocket_doAccept()183 nfc_jni_native_monitor_t * pMonitor = nfc_jni_get_monitor(); in com_NativeLlcpServiceSocket_doClose() local190 pthread_mutex_lock(&pMonitor->incoming_socket_mutex); in com_NativeLlcpServiceSocket_doClose()192 pthread_cond_broadcast(&pMonitor->incoming_socket_cond); in com_NativeLlcpServiceSocket_doClose()[all …]
760 nfc_jni_native_monitor * pMonitor = nfc_jni_get_monitor(); in nfc_jni_llcp_linkStatus_callback() local795 while (!LIST_EMPTY(&pMonitor->incoming_socket_head)) in nfc_jni_llcp_linkStatus_callback()797 pListenData = LIST_FIRST(&pMonitor->incoming_socket_head); in nfc_jni_llcp_linkStatus_callback()838 nfc_jni_native_monitor * pMonitor = nfc_jni_get_monitor(); in nfc_jni_llcp_transport_listen_socket_callback() local842 pthread_mutex_lock(&pMonitor->incoming_socket_mutex); in nfc_jni_llcp_transport_listen_socket_callback()853 LIST_INSERT_HEAD(&pMonitor->incoming_socket_head, pListenData, entries); in nfc_jni_llcp_transport_listen_socket_callback()856 pthread_cond_broadcast(&pMonitor->incoming_socket_cond); in nfc_jni_llcp_transport_listen_socket_callback()859 pthread_mutex_unlock(&pMonitor->incoming_socket_mutex); in nfc_jni_llcp_transport_listen_socket_callback()