office-gobmx/salhelper/CppunitTest_salhelper_testapi.mk
Stephan Bergmann 7397fa7cdf 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>
2023-12-15 07:30:35 +01:00

30 lines
883 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Major Contributor(s):
# Copyright (C) 2012 Radu Ioan <ioan.radu.g@gmail.com> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
$(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))
$(eval $(call gb_CppunitTest_use_libraries,salhelper_testapi,\
salhelper \
sal \
))
# vim: set noet sw=4 ts=4: