Add ANR monitor 96/293496/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 31 May 2023 00:39:19 +0000 (00:39 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 31 May 2023 00:42:27 +0000 (00:42 +0000)
commit9ef69b098c7f3864c447e17eb3666293628e75db
tree09a4afbe7d146b49bc6aeac5c5a7f07c24005eb6
parent37f62734e90a99279072b6186a05ebcac653d4bc
Add ANR monitor

For debug the main thread state when the application is the deadlock state,
this patch adds an AnrMonitor class. While getting SIGRTANR(SIGRTMIN + 3) signal,
the application core prints the backtrace of the main thread of the application.

Change-Id: Ib820d0afe0b06f3909182bc48dc66dddb6b49918
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tizen-cpp/app-core-cpp/app_core_base.cc