commit | dd541fde4982d883f180975a5f2b99e71da1d602 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Fri Dec 07 21:34:49 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Dec 13 02:17:24 2018 +0000 |
tree | 45ade4b52907311be7b34e2b729cd4377e5c4927 | |
parent | 4048f1c6d78079029ac6adb6de19bda12c4db52a [diff] |
[fit][bridge] Fix a lock re-entrance issue in fit::bridge. Under certain circumstances, dropping a bridge completer or consumer could cause a result and/or suspended task to be dropped which could then have side-effects that resulted in an attempt to re-acquire the bridge's lock. Guarded against this by ensuring that the result and suspended task are only used or dropped from outside of the bridge's lock. Added swap() functions to fit::result<> and fit::suspended_task to help implement this fix. Test: fit-test Change-Id: I046c71b8f37eb3242a8bb2a5657986bab75a154f
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
A read-only mirror of the code is present at: https://github.com/fuchsia-mirror/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.