Testing persistent communication

This commit is contained in:
Mark Berrill
2022-02-10 16:29:22 -05:00
parent f329e424a4
commit 1f671edbc1
6 changed files with 1127 additions and 1121 deletions

View File

@@ -1263,7 +1263,7 @@ static int backtrace_thread(
if ( tid == pthread_self() ) {
count = ::backtrace( buffer, size );
} else {
// Note: this will get the backtrace, but terminates the thread in the process!!!
// Send a signal to the desired thread to get the call stack
StackTrace_mutex.lock();
struct sigaction sa;
sigfillset( &sa.sa_mask );