forked from qt-creator/qt-creator
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user