OpenTTD/src/linkgraph
Jonathan G Rennison 94d629d79b
Change: [Linkgraph] Allow job threads to be aborted early when clearing schedule (#8416)
When link graph jobs are cleared due to abandoning the game or exiting,
flag the job as aborted.
The link graph job running in a separate thread checks the aborted flag
periodically and terminates processing early if set.
This reduces the delay at game abandon or exit if a long-running job
would otherwise still be running.
2020-12-25 00:36:36 +01:00
..
CMakeLists.txt Add: introduce CMake for project management 2020-06-05 19:36:05 +02:00
demands.cpp Doc: Lots and lots of doxymentation fixes 2018-10-31 12:35:54 +01:00
demands.h Fix: Some typos found using codespell 2019-09-29 21:27:32 +01:00
flowmapper.cpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
flowmapper.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
init.h Fix: Some typos found using codespell 2019-09-29 21:27:32 +01:00
linkgraph.cpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
linkgraph.h Codechange: Replace SmallPair with std::pair. 2020-05-21 20:02:34 +02:00
linkgraph_base.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
linkgraph_gui.cpp Codechange: Replace station related FOR_ALL with range-based for loops 2019-12-21 20:13:03 +01:00
linkgraph_gui.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
linkgraph_type.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
linkgraphjob.cpp Change: [Linkgraph] Allow job threads to be aborted early when clearing schedule (#8416) 2020-12-25 00:36:36 +01:00
linkgraphjob.h Change: [Linkgraph] Allow job threads to be aborted early when clearing schedule (#8416) 2020-12-25 00:36:36 +01:00
linkgraphjob_base.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
linkgraphschedule.cpp Change: [Linkgraph] Allow job threads to be aborted early when clearing schedule (#8416) 2020-12-25 00:36:36 +01:00
linkgraphschedule.h Change: [Linkgraph] Pause the game when linkgraph jobs lag (#6470) 2020-12-22 15:17:57 +01:00
mcf.cpp Change: [Linkgraph] Allow job threads to be aborted early when clearing schedule (#8416) 2020-12-25 00:36:36 +01:00
mcf.h (svn r25356) -Add: Multi-Commodity-Flow solver for link graph 2013-06-09 13:00:41 +00:00
refresh.cpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
refresh.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00