summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/dlt_design_specification.md7
-rw-r--r--doc/dlt_for_developers.md5
2 files changed, 12 insertions, 0 deletions
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
diff --git a/doc/dlt_for_developers.md b/doc/dlt_for_developers.md
index 931397c..781f6fb 100644
--- a/doc/dlt_for_developers.md
+++ b/doc/dlt_for_developers.md
@@ -81,6 +81,11 @@ and to TARGET\_LINK\_LIBRARIES:
${DLT_LIBRARIES}
```
+### Limitation
+
+On Android, definition of `SIGUSR1` in DLT application shall be avoided since
+DLT library blocks `SIGUSR1` to terminate housekeeper thread at exit.
+
## General Rules for Logging
### Be Smart