Home
last modified time | relevance | path

Searched refs:emptyEventPipe (Results 1 - 3 of 3) sorted by relevance

/third_party/glfw/src/
H A Dx11_init.c1052 if (pipe(_glfw.x11.emptyEventPipe) != 0) in createEmptyEventPipe()
1062 const int sf = fcntl(_glfw.x11.emptyEventPipe[i], F_GETFL, 0); in createEmptyEventPipe()
1063 const int df = fcntl(_glfw.x11.emptyEventPipe[i], F_GETFD, 0); in createEmptyEventPipe()
1066 fcntl(_glfw.x11.emptyEventPipe[i], F_SETFL, sf | O_NONBLOCK) == -1 || in createEmptyEventPipe()
1067 fcntl(_glfw.x11.emptyEventPipe[i], F_SETFD, df | FD_CLOEXEC) == -1) in createEmptyEventPipe()
1648 if (_glfw.x11.emptyEventPipe[0] || _glfw.x11.emptyEventPipe[1]) in _glfwTerminateX11()
1650 close(_glfw.x11.emptyEventPipe[0]); in _glfwTerminateX11()
1651 close(_glfw.x11.emptyEventPipe[1]); in _glfwTerminateX11()
H A Dx11_window.c86 [PIPE_FD] = { _glfw.x11.emptyEventPipe[0], POLLIN }, in waitForAnyEvent()
117 const ssize_t result = write(_glfw.x11.emptyEventPipe[1], &byte, 1); in writeEmptyEvent()
130 const ssize_t result = read(_glfw.x11.emptyEventPipe[0], dummy, sizeof(dummy)); in drainEmptyEvents()
H A Dx11_platform.h587 int emptyEventPipe[2]; member

Completed in 10 milliseconds