summaryrefslogtreecommitdiff
path: root/salhelper/CppunitTest_salhelper_testapi.mk
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2023-12-14 16:40:44 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-12-15 07:30:35 +0100
commit7397fa7cdfc33f5a079df42e4d6cfa59ae9e062d (patch)
tree914126191fe9a958ea66523064e3028fa0ebac25 /salhelper/CppunitTest_salhelper_testapi.mk
parent250213166762bceedc052d80cf6ed5d64e286000 (diff)
Fix salhelper::Timer
Using it was prone to cause deadlocks on shutdown, when the main thread during exit destroys the static salhelper::TimerManager instance, which blocks destroying its m_notEmpty member because the salhelper::TimerManager::run thread is blocking at > m_notEmpty.wait(pDelay); Change-Id: If72700cb622e945f5f314a00ded57538961ab8d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160788 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'salhelper/CppunitTest_salhelper_testapi.mk')
-rw-r--r--salhelper/CppunitTest_salhelper_testapi.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/salhelper/CppunitTest_salhelper_testapi.mk b/salhelper/CppunitTest_salhelper_testapi.mk
index f3d98aa435bd..abcb5bc02616 100644
--- a/salhelper/CppunitTest_salhelper_testapi.mk
+++ b/salhelper/CppunitTest_salhelper_testapi.mk
@@ -17,6 +17,7 @@ $(eval $(call gb_CppunitTest_CppunitTest,salhelper_testapi))
$(eval $(call gb_CppunitTest_add_exception_objects,salhelper_testapi,\
salhelper/qa/test_api \
+ salhelper/qa/timer \
))
$(eval $(call gb_CppunitTest_use_external,salhelper_testapi,boost_headers))