]> git.tdb.fi Git - r2c2.git/commit
Apply all planned routes at once
authorMikko Rasa <tdb@tdb.fi>
Wed, 11 Feb 2015 15:35:56 +0000 (17:35 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 11 Feb 2015 15:35:56 +0000 (17:35 +0200)
commit91131237203bffe734219ab8b82b9d17f5d7a87d
treeba7fc6b9329cde2af6337c64e7593a3de3b07edd
parentb3cc0d29a0fda2d48443d66881214c81a04b1729
Apply all planned routes at once

Letting each router to do it separately in the tick function causes
certain problems with synchronization.  In particular, sequence points
are difficult to synchronize unless the route update is atomic.
source/libr2c2/trainrouter.cpp
source/libr2c2/trainrouter.h