diff options
author | Vo Trung Chi <chi.votrung@vn.bosch.com> | 2019-10-01 15:22:56 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-10-01 17:22:56 +0900 |
commit | db669dda273b31215a6b002fd7c753f394649369 (patch) | |
tree | a2c7b0f5211491495747cfdc8e1e74dde4f1e8ff /doc/dlt_design_specification.txt | |
parent | b5902c506e958933bbabe6bdab8d676e0aa0bbc5 (diff) | |
download | DLT-daemon-db669dda273b31215a6b002fd7c753f394649369.tar.gz |
libdlt: reattachment and improvement in dlt thread (#171)
Improvement: housekeeper thread with poll
- Change name receiver thread to housekeeper thread
- Use poll() in housekeeper thread to get new received message
from DLT Daemon.
- Remove resend buffer inside of dlt_user_log_reattach_to_daemon()
- Only try to resend buffer if fd is valid.
This commit removes the event driven dlt_user_log_reattach_to_daemon()
that is called e.g. by DLT_LOG. Now, only the DLT housekeeper thread
handles the retrial to attach to daemon.
Signed-off-by: Vo Trung Chi <Chi.VoTrung@vn.bosch.com>
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Signed-off-by: Simon Herkenhoff <sherkenhoff@jp.adit-jv.com>
Signed-off-by: Bui Nguyen Quoc Thanh <Thanh.BuiNguyenQuoc@vn.bosch.com>
Diffstat (limited to 'doc/dlt_design_specification.txt')
-rw-r--r-- | doc/dlt_design_specification.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/dlt_design_specification.txt b/doc/dlt_design_specification.txt index d39a100..02f1120 100644 --- a/doc/dlt_design_specification.txt +++ b/doc/dlt_design_specification.txt @@ -173,7 +173,7 @@ During unregister of application, the following things occur: ==== Handling of messages received from DLT daemon -During receiver thread within the DLT user library checks for newly received messages from the DLT daemon, and handles them in the following way: +During housekeeper thread within the DLT user library checks for newly received messages from the DLT daemon, and handles them in the following way: * DLT_USER_MESSAGE_LOG_LEVEL ** Store received log level and trace status for the received context to the context array |