MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / start_thread

Method start_thread

client/util/codecount/localcount.py:77–85  ·  view source on GitHub ↗

启动代码行统计线程 :return:

(self)

Source from the content-addressed store, hash-verified

75 self._thread_event = threading.Event()
76
77 def start_thread(self):
78 """
79 启动代码行统计线程
80 :return:
81 """
82 # 启动一个线程,统计代码行
83 self._thread_event.set()
84 count_line_tread = CountLineThread(self._thread_event, self._params, self._task_dir, self._result_filepath)
85 count_line_tread.start()
86
87 def get_result(self):
88 """

Callers 1

scan_projectMethod · 0.95

Calls 2

CountLineThreadClass · 0.85
startMethod · 0.45

Tested by

no test coverage detected