summaryrefslogtreecommitdiff
path: root/src/linkgraph/linkgraphschedule.h
AgeCommit message (Collapse)Author
2020-12-22Change: [Linkgraph] Pause the game when linkgraph jobs lag (#6470)Jonathan G Rennison
Check if the job is still running two date fract ticks before it is due to join, and if so pause the game until its done. When loading a game, check if the game would block immediately due to a job which is scheduled to be joined within two date fract ticks, and if so pause the game until its done. This avoids the main thread being blocked on a thread join, which appears to the user as if the game is unresponsive, as the UI does not repaint and cannot be interacted with. Show if pause is due to link graph job in status bar, update network messages. This does not apply for network clients.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-06Codechange: Replace custom thread code with C++11 thread objects.Michael Lutz
We assume a conforming C++11 compiler environment that has a valid <thread>-header. Failure to run a real thread is handled gracefully.
2015-03-07(svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects.frosch
2014-02-16(svn r26347) -Fix [FS#5898]: Make sure link graph jobs can delete themselves ↵fonsinchen
after SLA_NULL.
2013-10-15(svn r25867) -Fix [FS#5764]: Shift dates on link graphs when using scenario ↵fonsinchen
editor date tool.
2013-06-09(svn r25357) -Add: flow mapper for link graphfonsinchen
2013-06-09(svn r25356) -Add: Multi-Commodity-Flow solver for link graphfonsinchen
2013-06-09(svn r25355) -Add: demand handler for link graphfonsinchen
2013-06-09(svn r25354) -Add: link graph schedule and typedefs for LinkGraph and ↵fonsinchen
related classes