diff options
author | 이형주/Common Platform Lab(SR)/삼성전자 <leee.lee@samsung.com> | 2022-02-17 16:34:49 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2022-02-17 16:34:49 +0900 |
commit | 42d3181ffecb341a0224abbe0416fc80a965b7ef (patch) | |
tree | d5f782f71920aab03a30330968e8a62f33fc8f87 /src/pal | |
parent | 29bd15a4ff563e363ddd5a74d498f2894746b7e8 (diff) | |
download | coreclr-42d3181ffecb341a0224abbe0416fc80a965b7ef.tar.gz coreclr-42d3181ffecb341a0224abbe0416fc80a965b7ef.tar.bz2 coreclr-42d3181ffecb341a0224abbe0416fc80a965b7ef.zip |
[Tizen] Add error log for pthread_kill failure (#330)
Co-authored-by: Woongsuk Cho <ws77.cho@samsung.com>
Diffstat (limited to 'src/pal')
-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. |