commit | fb7489af45ce681d48e232ece58208eecce531e9 | [log] [tgz] |
---|---|---|
author | David Pursell <dpursell@google.com> | Wed Jan 23 10:14:25 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon Jan 28 16:54:17 2019 +0000 |
tree | f0f236d040e7e3659664881d38b24cbd2f9db391 | |
parent | 045340aad176732b1a784c628478a3e13a2774aa [diff] |
[socket] add support for socket peek Adds peek option to zx_socket_read() for both standard and control-plane messages. Socket benchmark tests don't show any significant change in speed. ZX-769 # done Test: `runtests -t socket-test` Test: '/pkgfs/packages/zircon_benchmarks/0/test/zircon_benchmarks -p \ --runs 1000000 --filter Socket' Change-Id: Id312eb4889e7c2f052719980c86c75a2a1937ac4
Zircon is the core platform that powers the Fuchsia OS. Zircon is composed of a microkernel (source in kernel/...) as well as a small set of userspace services, drivers, and libraries (source in system/...) necessary for the system to boot, talk to hardware, load userspace processes and run them, etc. Fuchsia builds a much larger OS on top of this foundation.
The canonical Zircon Git repository is located at: https://fuchsia.googlesource.com/zircon
The Zircon Kernel provides syscalls to manage processes, threads, virtual memory, inter-process communication, waiting on object state changes, and locking (via futexes).
Currently there are some temporary syscalls that have been used for early bringup work, which will be going away in the future as the long term syscall API/ABI surface is finalized. The expectation is that there will be about 100 syscalls.
Zircon syscalls are generally non-blocking. The wait_one, wait_many port_wait and thread sleep being the notable exceptions.
This page is a non-comprehensive index of the zircon documentation.