]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Use python selector in the parallel-vm.py main loop
authorJouni Malinen <j@w1.fi>
Fri, 27 Dec 2019 15:12:34 +0000 (17:12 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 27 Dec 2019 15:12:34 +0000 (17:12 +0200)
commitc64b6f62cd09af4690107f54c63bf3fa4c58068a
tree2c37d7587d12f4208c4f77026b7a048c86eec991
parent0075df74df28dbb4985d1285182815efc766a82b
tests: Use python selector in the parallel-vm.py main loop

This gets rid of the loop that was polling for things to do every 0.25
seconds and instead, reacts to any data from VMs as soon as it becomes
available. This avoids unnecessary operations when no new data is
available and avoids unnecessary waits when new data becomes available
more quickly.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/vm/parallel-vm.py