aboutsummaryrefslogtreecommitdiff
path: root/include/Program.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-25 22:52:47 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-25 22:52:47 +0200
commitdfa4e24f72996d507e710fc6839367536237c501 (patch)
treed1d053d064738b7f188f1c5fc760886afec430f2 /include/Program.hpp
parente616d1cc3ad60e314c92a8266a996244e02aaa6f (diff)
Rework youtube redirect code
Diffstat (limited to 'include/Program.hpp')
-rw-r--r--include/Program.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Program.hpp b/include/Program.hpp
index 4007a24..92defa1 100644
--- a/include/Program.hpp
+++ b/include/Program.hpp
@@ -40,7 +40,8 @@ int wait_program_non_blocking(pid_t process_id, int *status);
int exec_program_async(const char **args, pid_t *result_process_id);
void program_clear_current_thread();
-void program_kill_in_thread(const std::thread::id &thread_id);
+void program_kill_in_thread(std::thread::id thread_id);
+bool program_is_dead_in_thread(std::thread::id thread_id);
bool program_is_dead_in_current_thread();
#endif /* QUICKMEDIA_PROGRAM_HPP */