Searched refs:uipc_main (Results 1 – 1 of 1) sorted by relevance
63 #define UIPC_LOCK() /*BTIF_TRACE_EVENT(" %s lock", __FUNCTION__);*/ pthread_mutex_lock(&uipc_main.m…64 …C_UNLOCK() /*BTIF_TRACE_EVENT("%s unlock", __FUNCTION__);*/ pthread_mutex_unlock(&uipc_main.mutex);107 static tUIPC_MAIN uipc_main; variable223 pthread_mutex_init(&uipc_main.mutex, &attr); in uipc_main_init()228 if (socketpair(AF_UNIX, SOCK_STREAM, 0, uipc_main.signal_fds) < 0) in uipc_main_init()233 FD_SET(uipc_main.signal_fds[0], &uipc_main.active_set); in uipc_main_init()234 uipc_main.max_fd = MAX(uipc_main.max_fd, uipc_main.signal_fds[0]); in uipc_main_init()238 tUIPC_CHAN *p = &uipc_main.ch[i]; in uipc_main_init()256 close(uipc_main.signal_fds[0]); in uipc_main_cleanup()257 close(uipc_main.signal_fds[1]); in uipc_main_cleanup()[all …]