Thanks, Bryan, I will take a look! André Luis Ogando Paraense
2013/11/11 Bryan Nehl <[email protected]> > With my project I used a communications agent to do all of the interaction > via TCP/IP with SUMO. > In turn, other parts of the system worked with the communications agent > via messaging (RabbitMQ). > > http://people.cis.ksu.edu/~bnehl/ > > Bryan > > On Nov 10, 2013, at 3:10 PM, André Dedeco <[email protected]> wrote: > > > I am building a traffic light controller which needs to sense the network > > every simulation step to know some information about lanes (like mean > > speed) and also needs to act on the traffic lights to change its state. > My > > problem is when I do these things using separate threads for each lane > and > > traffic light, I get the following error: > > ... > > My guess is that the different threads are writing to the tcp connection > > and the message gets confused in the sumo server side. > > > > If that is the problem, what would be the right approach in this case? > > ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
