Lines Matching refs:port
10 #include <zircon/syscalls/port.h>
11 #include <lib/zx/port.h>
46 zx::port port;
47 status = zx::port::create(0, &port);
51 // Cause the port to be signaled with kThreadKey when the background thread crashes or teminates without crashing.
53 if (thread.wait_async(port, kThreadKey, ZX_THREAD_TERMINATED, ZX_WAIT_ASYNC_ONCE) != ZX_OK) {
56 if (zx_task_bind_exception_port(thread.get(), port.get(), kThreadKey, 0) != ZX_OK) {
64 if (port.wait(zx::time::infinite(), &packet) == ZX_OK) {