Home
last modified time | relevance | path

Searched refs:uipc_main (Results 1 – 1 of 1) sorted by relevance

/system/bt/udrv/ulinux/
Duipc.c67 #define UIPC_LOCK() /*BTIF_TRACE_EVENT(" %s lock", __FUNCTION__);*/ pthread_mutex_lock(&uipc_main.m…
68 …C_UNLOCK() /*BTIF_TRACE_EVENT("%s unlock", __FUNCTION__);*/ pthread_mutex_unlock(&uipc_main.mutex);
111 static tUIPC_MAIN uipc_main; variable
218 pthread_mutex_init(&uipc_main.mutex, &attr); in uipc_main_init()
223 if (socketpair(AF_UNIX, SOCK_STREAM, 0, uipc_main.signal_fds) < 0) in uipc_main_init()
228 FD_SET(uipc_main.signal_fds[0], &uipc_main.active_set); in uipc_main_init()
229 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.signal_fds[0]); in uipc_main_init()
233 tUIPC_CHAN *p = &uipc_main.ch[i]; in uipc_main_init()
251 close(uipc_main.signal_fds[0]); in uipc_main_cleanup()
252 close(uipc_main.signal_fds[1]); in uipc_main_cleanup()
[all …]