diff options
Diffstat (limited to 'src/Program.cpp')
-rw-r--r-- | src/Program.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Program.cpp b/src/Program.cpp index a8189ae..5220a4c 100644 --- a/src/Program.cpp +++ b/src/Program.cpp @@ -280,3 +280,7 @@ void program_clear_current_thread() { void program_kill_in_thread(const std::thread::id &thread_id) { current_thread_program.kill_in_thread(thread_id); } + +bool program_is_dead_in_current_thread() { + return current_thread_program.is_killed(); +} |