MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / TryEnqueue

Method TryEnqueue

FastCopy/UIThreadWrapper.h:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13 template<typename Func>
14 void TryEnqueue(Func&& f)
15 {
16 if (m_queue)
17 m_queue.TryEnqueue(std::forward<Func>(f));
18 else
19 m_tasks.push(std::forward<Func>(f));
20 }
21};
22

Callers 7

CopyDialogMethod · 0.80
RecordFileMethod · 0.80
StartMethod · 0.80
OnUpdateCopySpeedMethod · 0.80
raiseProgressChangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected