diff options
author | Woongsuk Cho <ws77.cho@samsung.com> | 2022-01-14 14:19:35 +0900 |
---|---|---|
committer | Hyungju Lee <leee.lee@samsung.com> | 2022-01-18 06:39:18 +0900 |
commit | 4db68c34bdf942f8d0da2fc05162e74571e311b2 (patch) | |
tree | ef8d8587f2afd17a2d5896ffc8098bd1b05ea622 | |
parent | c9d19a35b19cfc708ed61eaaec470052baa79c57 (diff) | |
download | coreclr-4db68c34bdf942f8d0da2fc05162e74571e311b2.tar.gz coreclr-4db68c34bdf942f8d0da2fc05162e74571e311b2.tar.bz2 coreclr-4db68c34bdf942f8d0da2fc05162e74571e311b2.zip |
[Tizen] Add error log for pthread_kill failuresubmit/tizen_6.5/20220117.214033accepted/tizen/6.5/unified/20220118.123830
-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. |