From dfa4e24f72996d507e710fc6839367536237c501 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 25 Jun 2021 22:52:47 +0200 Subject: Rework youtube redirect code --- include/Program.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/Program.hpp') 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 */ -- cgit v1.2.3