Add some more comments

Add some developer comments explaining which method
is designed to be called from a certain thread.
Add also some comments about in which thread
certain QObjects live in.

Change-Id: I38b10216cc29f8a86fd784e588e913407f0fb776
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2021-08-18 10:45:57 +02:00
parent fd6ab7ddab
commit a7e8ddd725
4 changed files with 44 additions and 25 deletions

View File

@@ -310,8 +310,6 @@ private:
typedef void (ProcessLauncherImpl::*PreSignal)(void);
void cancel();
void sendPacket(const Internal::LauncherPacket &packet)
{ LauncherInterface::socket()->sendData(packet.serialize()); }
void handleSocketError(const QString &message);
void handleSocketReady();
@@ -319,7 +317,8 @@ private:
quintptr token() const { return m_token; }
const uint m_token = 0;
LauncherHandle *m_handle = nullptr; // This object lives in a different thread!
// Lives in launcher's thread.
LauncherHandle *m_handle = nullptr;
};
void ProcessLauncherImpl::cancel()