MCPcopy Create free account
hub / github.com/ChunelFeng/CThreadPool / destroy

Function destroy

src/UtilsCtrl/ThreadPool/Thread/UThreadBase.h:45–51  ·  view source on GitHub ↗

* 所有线程类的 destroy 函数应该是一样的 * 但是init函数不一样,因为线程构造函数不同 * @return */

Source from the content-addressed store, hash-verified

43 * @return
44 */
45 CStatus destroy() override {
46 CGRAPH_FUNCTION_BEGIN
47 CGRAPH_ASSERT_INIT(true)
48
49 reset();
50 CGRAPH_FUNCTION_END
51 }
52
53
54 /**

Callers 1

~UThreadPoolMethod · 0.85

Calls 1

resetFunction · 0.85

Tested by

no test coverage detected