Wednesday, 7 October 2009

G2 Update/Routing Issues Fixed

Hit some problems today when testing G2 routing and updates "in anger." I was getting issues where the two threads were locking, and causing a seg fault in the code.

The reason appears to be that originally I had the two processes within the main code, rather than running them as separate threads, and I had declared global values which were now used outside of the main body. If one thread access them at the same time as the other - disaster.

So far, so good, but I need to keep a close eye on this one.

0 comments:

Post a Comment