MCPcopy Create free account
hub / github.com/comaps/comaps / Cancel

Method Cancel

libs/base/thread.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void Thread::Cancel()
70{
71 if (!m_routine)
72 return;
73 m_routine->Cancel();
74 Join();
75 m_routine.reset();
76}
77
78void Thread::Join()
79{

Callers 8

UNIT_TESTFunction · 0.45
StopMethod · 0.45
UNIT_TESTFunction · 0.45
UNIT_TESTFunction · 0.45
UNIT_TESTFunction · 0.45
UNIT_TESTFunction · 0.45
CancelQueryFunction · 0.45
CancelTaskMethod · 0.45

Calls 2

JoinFunction · 0.50
resetMethod · 0.45

Tested by 5

UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36