diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-03-18 07:34:48 +0000 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-03-18 12:16:44 +0000 |
commit | c0fb2640665d552b39deb2192d59fa11ea701d51 (patch) | |
tree | 46d25046825542ff87714b283e31f14b83880604 /sd/source/ui/remotecontrol/DiscoveryService.hxx | |
parent | 6181013d9989bb5c96e88ea1bc8d581b99c28421 (diff) |
fdo#75328 Do DiscoveryService socket setup off the main thread.
Change-Id: I795f365981d8e7983c9f32531c9ec2ae4793c8f4
Diffstat (limited to 'sd/source/ui/remotecontrol/DiscoveryService.hxx')
-rw-r--r-- | sd/source/ui/remotecontrol/DiscoveryService.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.hxx b/sd/source/ui/remotecontrol/DiscoveryService.hxx index 9edfd69a02fc..03bbf87e4e96 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.hxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.hxx @@ -30,6 +30,12 @@ namespace sd DiscoveryService(); ~DiscoveryService(); + /** + * Networking related setup -- must be run within our own thread + * to prevent the application blocking (fdo#75328). + */ + void setupSockets(); + static DiscoveryService *spService; virtual void SAL_CALL run(); int mSocket; |