Increase the life-cycle of threads in thread-pool...
commit769832cc1f592b1d0c39cda7795fe4548fc97566
authorDennis Francis <dennis.francis@collabora.com>
Wed, 20 Mar 2019 14:37:58 +0000 (20 20:07 +0530)
committerMichael Meeks <michael.meeks@collabora.com>
Thu, 21 Mar 2019 10:24:26 +0000 (21 11:24 +0100)
tree404546dfca76bc766ad88fcf9fe8f3cb5f7ad3f1
parent3d9f973e6648c5819608237f390df523b6a32ed8
Increase the life-cycle of threads in thread-pool...

to ScDocument lifetime if possible. This helps to avoid lots
of thread setup-cost while doing recalcs especially if there are
many formula-groups in the document and most of them are fairly
light-weight.

Change-Id: Idd57e1ebd0d4e492f99e31237d4a55ec9c95a121
Reviewed-on: https://gerrit.libreoffice.org/69473
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
comphelper/source/misc/threadpool.cxx
include/comphelper/threadpool.hxx
sc/source/core/data/documen2.cxx
sc/source/core/data/formulacell.cxx