nixpkgs-suyu/nixos
K900 a874235dff nixos/lib/test-driver: clean up threads correctly
The current implementation just forks off a thread to read
QEMU's stdout and lets it exist forever. This, however,
makes the interpreter shutdown racy, as the thread could
still be running and writing out buffered stdout when the
main thread exits (and since it's using the low level API,
the worker thread does not get cleaned up by the atexit hooks
installed by `threading`, either). So, instead of doing that,
let's create a real `threading.Thread` object, and also
explicitly `join` it along with the other stuff when cleaning up.
2021-10-19 16:23:51 +03:00
..
doc nixos/doc/manual/release_notes: add virtualisation.libvirtd changes 2021-10-18 13:46:56 -03:00
lib nixos/lib/test-driver: clean up threads correctly 2021-10-19 16:23:51 +03:00
maintainers nixos/maintainers/scripts: Avoid copy in example 2021-10-17 23:57:42 +02:00
modules nixos/samba: Add openFirewall option 2021-10-19 19:11:02 +11:00
tests nixos/samba: Add openFirewall option 2021-10-19 19:11:02 +11:00
COPYING
default.nix
README
release-combined.nix
release-small.nix
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.