Add pv_query_loop() to run a main loop watching another pv (#101).

This commit is contained in:
Andrew Wood
2025-10-24 09:00:10 +01:00
parent 15ed99eee7
commit 7598b4d46c
4 changed files with 224 additions and 12 deletions
+5
View File
@@ -292,6 +292,11 @@ extern int pv_main_loop(pvstate_t);
*/
extern int pv_watchfd_loop(pvstate_t);
/*
* Watch the progress of another pv process.
*/
extern int pv_query_loop(pvstate_t, pid_t);
/*
* Shut down signal handlers after running the main loop.
*/