MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SpawnAll

Method SpawnAll

src/linkgraph/linkgraphschedule.cpp:111–116  ·  view source on GitHub ↗

* Start all threads in the running list. This is only useful for save/load. * Usually threads are started when the job is created. */

Source from the content-addressed store, hash-verified

109 * Usually threads are started when the job is created.
110 */
111void LinkGraphSchedule::SpawnAll()
112{
113 for (auto &it : this->running) {
114 it->SpawnThread();
115 }
116}
117
118/**
119 * Clear all link graphs and jobs from the schedule.

Callers 1

AfterLoadLinkGraphsFunction · 0.80

Calls 1

SpawnThreadMethod · 0.80

Tested by

no test coverage detected