MCPcopy Create free account
hub / github.com/amule-project/amule / Start

Method Start

src/ThreadScheduler.cpp:70–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69
70void CThreadScheduler::Start()
71{
72 wxMutexLocker lock(s_lock);
73
74 s_running = true;
75 s_terminated = false;
76
77 // Ensures that a thread is started if tasks are already waiting.
78 if (s_scheduler) {
79 AddDebugLogLineN(logThreads, "Starting scheduler");
80 s_scheduler->CreateSchedulerThread();
81 }
82}
83
84
85void CThreadScheduler::Terminate()

Callers

nothing calls this directly

Calls 1

CreateSchedulerThreadMethod · 0.80

Tested by

no test coverage detected