Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PolyMC/PolyMC
/ addTask
Method
addTask
launcher/tasks/ConcurrentTask.cpp:28–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
}
27
28
void ConcurrentTask::addTask(Task::Ptr task)
29
{
30
if (!isRunning())
31
m_queue.append(task);
32
else
33
qWarning() <<
"Tried to add a task to a running concurrent task!"
;
34
}
35
36
void ConcurrentTask::executeTask()
37
{
Callers
13
EnsureMetadataTask
Method · 0.80
executeTask
Method · 0.80
installMods
Method · 0.80
updateMods
Method · 0.80
on_actionUpload_triggered
Method · 0.80
on_buttonBox_accepted
Method · 0.80
checkCandidates
Method · 0.80
ensureMetadata
Method · 0.80
onMetadataFailed
Method · 0.80
test_basicConcurrentRun
Method · 0.80
test_moreConcurrentRun
Method · 0.80
test_basicSequentialRun
Method · 0.80
Calls
1
append
Method · 0.80
Tested by
4
test_basicConcurrentRun
Method · 0.64
test_moreConcurrentRun
Method · 0.64
test_basicSequentialRun
Method · 0.64
test_basicMultipleOptionsRun
Method · 0.64