nixpkgs/nixos/lib
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
..
make-options-doc make-options-docs: don't sort the options XML file 2021-10-18 03:45:33 +02:00
test-driver nixos/lib/test-driver: clean up threads correctly 2021-10-19 16:23:51 +03:00
build-vms.nix nixosTest: Provide system.build.networkConfig 2021-10-17 23:56:52 +02:00
eval-config.nix Merge pull request #51850 from roberth/nixos-pure 2020-08-24 04:29:37 +02:00
from-env.nix
make-channel.nix
make-disk-image.nix make-disk-image: Reduce forking 2021-06-21 22:58:07 -04:00
make-ext4-fs.nix nixos/lib/make-ext4-fs: Fix: `resize2fs -M' can leave insufficient slack 2021-05-31 21:35:51 +02:00
make-iso9660-image.nix nixos: use nativeBuildInputs in make- iso9660-image and system-tarball 2020-11-18 14:05:30 +01:00
make-iso9660-image.sh make-iso9660-image: produce stable GPT disk GUID 2020-07-20 11:16:59 +02:00
make-squashfs.nix squashfs: use -no-hardlinks for reproducible squashfs images (#114454) 2021-02-28 18:03:50 +00:00
make-system-tarball.nix nixos: use nativeBuildInputs in make- iso9660-image and system-tarball 2020-11-18 14:05:30 +01:00
make-system-tarball.sh
make-zfs-image.nix nixos/make-zfs-image: init 2021-08-25 10:42:35 -04:00
qemu-common.nix nixos/lib/qemu-flags: rename to qemu-common 2021-09-18 16:58:16 +02:00
testing-python.nix Merge pull request #126713 from blaggacao/nixos-test-ref/05-class-ify-test-driver 2021-10-07 14:37:01 +02:00
utils.nix Merge pull request #112823 from deviant/nixos-boot-paths 2021-10-07 17:38:54 +02:00