helper_thread: Introduce the wait_for_action() function
authorBart Van Assche <bvanassche@acm.org>
Wed, 9 Sep 2020 02:32:02 +0000 (19:32 -0700)
committerBart Van Assche <bvanassche@acm.org>
Sun, 20 Sep 2020 23:09:45 +0000 (16:09 -0700)
commit335210df931c79d59f93424e64c0623e59b18754
tree3ce40ef65c2af462b849ec918ae63f4603ccafae
parent2575407ffec5a43ac55eba370a00243d368bcb8d
helper_thread: Introduce the wait_for_action() function

This patch makes helper_thread_main() easier to read.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
helper_thread.c