| commit | 8d377ce3026e1f1477d7f42edbb48fb4a4880d66 | [log] [tgz] |
|---|---|---|
| author | Serge Bazanski <serge@monogon.tech> | Thu Mar 28 14:20:03 2024 +0100 |
| committer | Serge Bazanski <serge@monogon.tech> | Fri Mar 29 12:44:19 2024 +0000 |
| tree | 55a394724b4cd6bdcc6b8d773ca1eb8123672f28 | |
| parent | d8e5e27b9bb7b99239ac2d618809a9f6b8aade7f [diff] |
m/pkg/event: fix potential stuckness in Pipe If we want to restart a Pipe runnable, we cancel its' context. However, if the pipe function is currently stuck sending to a channel (perhaps because a sister runnable also got canceled and isn't reading from it), we will never exit. To fix this, ensure that we don't block on this send. Change-Id: Ic525ebec83748f6a6c4b4fb731617ccb7f95f807 Reviewed-on: https://review.monogon.dev/c/monogon/+/2901 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix: #monogon-os-community:matrix.org.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.