From 1987fa2b75253d9f47cde8f4dd593509027147a5 Mon Sep 17 00:00:00 2001 From: Saya Sugiura Date: Mon, 21 Dec 2020 11:40:42 +0900 Subject: doc: Limitation to SIGUSR1 usage on Android Signed-off-by: Saya Sugiura --- doc/dlt_design_specification.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/dlt_design_specification.md') diff --git a/doc/dlt_design_specification.md b/doc/dlt_design_specification.md index a6df3c5..b5f8cc7 100644 --- a/doc/dlt_design_specification.md +++ b/doc/dlt_design_specification.md @@ -350,6 +350,13 @@ steps are executed: - Store service id in callback table - Store function pointer in callback table +#### Android: Thread termination + +On Android, `pthread_cancel` is not available in bionic. So current +implementation uses *SIGUSR1* and `pthread_kill` to terminate housekeeper +thread. Due to this, application which is linked to DLT library should not +define *SIGUSR1*. + ### Communication between DLT daemon and DLT user library The communication mechanism (IPC) used between DLT daemon and DLT user library -- cgit v1.2.1