MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / Continue

Method Continue

src/hx/Debugger.cpp:255–271  ·  view source on GitHub ↗

Continue the thread that is waiting, if it is waiting. Only the debugger thread should call this.

Source from the content-addressed store, hash-verified

253 // Continue the thread that is waiting, if it is waiting. Only the
254 // debugger thread should call this.
255 void Continue(int count)
256 {
257 // Paranoia
258 if (count < 1) {
259 count = 1;
260 }
261
262 mWaitMutex.lock();
263
264 if (mWaiting) {
265 mWaiting = false;
266 mContinueCount = count - 1;
267 mWaitSemaphore.Set();
268 }
269
270 mWaitMutex.unlock();
271 }
272
273
274

Callers 2

ContinueThreadsMethod · 0.80
StepThreadMethod · 0.80

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected