diff options
author | Woongsuk Cho <ws77.cho@samsung.com> | 2022-01-14 14:19:35 +0900 |
---|---|---|
committer | Hyungju Lee <leee.lee@samsung.com> | 2022-02-17 11:38:21 +0900 |
commit | 567155e61b731260948bdadb8a92d49f3c671ebd (patch) | |
tree | d5f782f71920aab03a30330968e8a62f33fc8f87 | |
parent | 29bd15a4ff563e363ddd5a74d498f2894746b7e8 (diff) | |
download | coreclr-567155e61b731260948bdadb8a92d49f3c671ebd.tar.gz coreclr-567155e61b731260948bdadb8a92d49f3c671ebd.tar.bz2 coreclr-567155e61b731260948bdadb8a92d49f3c671ebd.zip |
[Tizen] Add error log for pthread_kill failuresubmit/tizen_6.5/20220217.024050accepted/tizen/6.5/unified/20220218.152723
-rw-r--r-- | src/pal/src/exception/signal.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pal/src/exception/signal.cpp b/src/pal/src/exception/signal.cpp index 325a1501c7..fa3a47f910 100644 --- a/src/pal/src/exception/signal.cpp +++ b/src/pal/src/exception/signal.cpp @@ -691,6 +691,7 @@ PAL_ERROR InjectActivationInternal(CorUnix::CPalThread* pThread) int status = pthread_kill(pThread->GetPThreadSelf(), INJECT_ACTIVATION_SIGNAL); if ((status != 0) && (status != EAGAIN)) { + printf("thread_t : 0x%08lx(%lu), status : %s\n", pThread->GetPThreadSelf(), pThread->GetPThreadSelf(), strerror(status)); // Failure to send the signal is fatal. There are only two cases when sending // the signal can fail. First, if the signal ID is invalid and second, // if the thread doesn't exist anymore. |