summaryrefslogtreecommitdiff
path: root/tests/gtest_dlt_daemon_offline_log.cpp
diff options
context:
space:
mode:
authorAlexander Mohr <alexander.m.mohr@mercedes-benz.com>2023-01-11 10:04:50 +0100
committerGitHub <noreply@github.com>2023-01-11 10:04:50 +0100
commit2224cddf140c060d92455ad3ee585e3abfc38eb2 (patch)
treeb3c9ce2df3a286cbd302ec0f6ba28faf0bad49ca /tests/gtest_dlt_daemon_offline_log.cpp
parent8c3c0a2a6eae04022a3b1a8a2387563bc3aee936 (diff)
downloadDLT-daemon-2224cddf140c060d92455ad3ee585e3abfc38eb2.tar.gz
dlt-user: Fix crashes in dlt_free during dlt_init (#362)
If dlt_free is called while dlt_init is running, the dlt-user library crashes because the init and free where not thread safe. This commit introduces a new field dlt_user_initialising which will prevent entering dlt_free while dlt_init is running. Correctness is ensured by a unit test Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
Diffstat (limited to 'tests/gtest_dlt_daemon_offline_log.cpp')
0 files changed, 0 insertions, 0 deletions