MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / get_tid

Method get_tid

pydevd_attach_to_process/winappdbg/window.py:169–177  ·  view source on GitHub ↗

@rtype: int @return: Global ID of the thread that owns this window.

(self)

Source from the content-addressed store, hash-verified

167 return self.dwProcessId
168
169 def get_tid(self):
170 """
171 @rtype: int
172 @return: Global ID of the thread that owns this window.
173 """
174 if self.dwThreadId is not None:
175 return self.dwThreadId
176 self.__get_pid_and_tid()
177 return self.dwThreadId
178
179 def __get_pid_and_tid(self):
180 "Internally used by get_pid() and get_tid()."

Callers 3

get_threadMethod · 0.95
__get_windowMethod · 0.95
set_threadMethod · 0.45

Calls 1

__get_pid_and_tidMethod · 0.95

Tested by

no test coverage detected