summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGabriel Masei <gabriel.masei@1and1.ro>2020-04-02 18:11:36 +0300
committerMichael Meeks <michael.meeks@collabora.com>2020-04-07 15:04:47 +0200
commit70af76e28cbca4a45869fcecfe221d21eb7a3790 (patch)
treee2d05827786da4cfa44be060282da53f32708f35 /net
parentb045fa90f281304ce3ed1a4c736b5209f695d146 (diff)
Replaced pipe with websocket based on Unix socket in communication with ForKit
Change-Id: I80f1a4e84ca6820503966a8ee5d9958a150eac14 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91585 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'net')
-rw-r--r--net/Socket.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/Socket.hpp b/net/Socket.hpp
index d09c39334..fd0a5278d 100644
--- a/net/Socket.hpp
+++ b/net/Socket.hpp
@@ -543,6 +543,11 @@ public:
}
}
+ const std::thread::id &getThreadOwner()
+ {
+ return _owner;
+ }
+
/// Are we running in either shutdown, or the polling thread.
/// Asserts in the debug builds, otherwise just logs.
void assertCorrectThread() const