# Port

## NAME

port - Signaling and mailbox primitive

## SYNOPSIS

Ports allow threads to wait for packets to be delivered from various
events. These events include explicit queueing on the port,
asynchronous waits on other handles bound to the port, and
asynchronous message delivery from IPC transports.

## DESCRIPTION

TODO

## SYSCALLS

- [`zx_port_create()`](https://fuchsia.dev/reference/syscalls/port_create) - create a port
- [`zx_port_queue()`](https://fuchsia.dev/reference/syscalls/port_queue) - send a packet to a port
- [`zx_port_wait()`](https://fuchsia.dev/reference/syscalls/port_wait) - wait for packets to arrive on a port
- [`zx_object_wait_async()`](https://fuchsia.dev/reference/syscalls/object_wait_async) - cause packets to arrive on a port, when another object is signaled

[](https://issues.fuchsia.dev/issues/new?component=1439230&template=1881640&description=Issue+on:+https://fuchsia.dev/docs/reference/kernel_objects/port.md "Report a bug or suggest improvements on this page") [](https://cs.opensource.google/fuchsia/fuchsia/+/main:docs/reference/kernel_objects/port.md "View the source code of this page") [](https://ci.android.com/edit?repo=fuchsia/fuchsia/main&file=docs/reference/kernel_objects/port.md&cloneRepo=fuchsia/fuchsia:refs/heads/main&fullPath=fuchsia/docs/reference/kernel_objects/port.md "Edit the source code of this page")