Lines Matching refs:pth
96 static volatile int pth = -1; // poll thread handle variable
107 return pth != -1; in is_init_done()
111 pth = poll_thread_handle; in btsock_rfc_init()
130 pth = -1; in btsock_rfc_cleanup()
310 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, slot->id); in btsock_rfc_listen()
370 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, slot->id); in btsock_rfc_connect()
499 btsock_thread_add_fd(pth, srv_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, srv_rs->id); in on_srv_rfc_connect()
500 btsock_thread_add_fd(pth, accept_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, accept_rs->id); in on_srv_rfc_connect()
553 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, slot->id); in on_rfc_write_done()
569 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, slot->id); in on_rfc_outgoing_congest()
769 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_WR, slot->id); in flush_incoming_que_on_wr_signal()
853 btsock_thread_add_fd(pth, slot->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_WR, slot->id); in bta_co_rfc_data_incoming()