From 50a385e6afea50922569828438194477537a768b Mon Sep 17 00:00:00 2001 From: "Biastoch, Darian (ADITG/ESM)" Date: Fri, 16 Jul 2021 00:29:10 +0000 Subject: system: use signalfd for dlt-system 1: Move the call of pthread_sigmask in dlt-qnx-systems main before DLT_REGISTER_APP, because this already spawns a thread, what was done without applying pthread_sigmask before. 2: Replaced all threads in dlt-system, that are spawned for each feature, through one poll. This poll waits for a file descriptor event, that triggers the feature routine, that was executed before in the thread. Done this for following processes: * reading syslog and journal * frequently reading logfile and logprocess * triggering filetransfer, if a file was added/changed in watched directory * checking watchdog timer of systemd service file with defined intervall Signed-off-by: dbiastoch --- doc/dlt-system.conf.5.md | 6 ------ 1 file changed, 6 deletions(-) (limited to 'doc') diff --git a/doc/dlt-system.conf.5.md b/doc/dlt-system.conf.5.md index 7020281..9fc65b2 100644 --- a/doc/dlt-system.conf.5.md +++ b/doc/dlt-system.conf.5.md @@ -114,12 +114,6 @@ Time in seconds after startup of dlt-system when first file is transfered. Default: 0 -## FiletransferTimeDelay - -Time in seconds to wait between deletion of transferred file and start of next file transfer. - - Default: 10 - ## FiletransferTimeoutBetweenLogs Time in seconds to wait between two file transfer logs of a single file to DLT. -- cgit v1.2.1