Home
last modified time | relevance | path

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

/external/wayland/src/
Dwayland-server.c66 int fd_lock; member
1115 if (s->fd_lock >= 0) in wl_socket_destroy()
1116 close(s->fd_lock); in wl_socket_destroy()
1131 s->fd_lock = -1; in wl_socket_alloc()
1461 socket->fd_lock = open(socket->lock_addr, O_CREAT | O_CLOEXEC | O_RDWR, in wl_socket_lock()
1464 if (socket->fd_lock < 0) { in wl_socket_lock()
1470 if (flock(socket->fd_lock, LOCK_EX | LOCK_NB) < 0) { in wl_socket_lock()
1489 close(socket->fd_lock); in wl_socket_lock()
1490 socket->fd_lock = -1; in wl_socket_lock()