summaryrefslogtreecommitdiff
path: root/vcl/inc/headless
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2018-02-27 19:55:39 -0400
committerHenry Castro <hcastro@collabora.com>2018-02-28 22:47:52 +0100
commite215310d6b531b8af39c86639ef88495470681bc (patch)
treed7eb75d0f1275529845861ba735e40c1f2f72d5d /vcl/inc/headless
parentf2a4cea6c035e9a837942934068b5f80a996580a (diff)
lok: update main thread
In the pre-initialization phase of the tiled rendering case the SvpSalInstance is created in a different process and when a new process is created (fork), the main thread identifier does not match so it is required to update it. Change-Id: I189e53f0b46c60f34a8016222079c9b1e2b3fef8 Reviewed-on: https://gerrit.libreoffice.org/50477 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'vcl/inc/headless')
-rw-r--r--vcl/inc/headless/svpinst.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx
index 6027b2b4d683..1dd577b78fb1 100644
--- a/vcl/inc/headless/svpinst.hxx
+++ b/vcl/inc/headless/svpinst.hxx
@@ -171,6 +171,7 @@ public:
virtual bool DoYield(bool bWait, bool bHandleAllCurrentEvents) override;
virtual bool AnyInput( VclInputFlags nType ) override;
virtual bool IsMainThread() const override;
+ virtual void updateMainThread() override;
// may return NULL to disable session management
virtual SalSession* CreateSalSession() override;