Stefan Sperling a écrit : > On Mon, Mar 30, 2009 at 06:40:41PM +0200, Matthieu Fertré wrote: > >> Hi, >> >> sorry for very very late answer... >> >> I think you were right and there was a problem of locking (a list of >> DistantComputer) in network game. It is normally fixed in the branch >> 0.8.4 that is not yet released. It would be really great if you can test >> it!! >> >> You can get the code using this instructions : >> http://www.wormux.org/wiki/howto/en/subversion.php >> >> replacing http://svn.gna.org/svn/wormux/trunk by >> http://svn.gna.org/svn/wormux/branches/wormux-0.8.4 >> > > Can you tell me the revision that fixed the bug? > > It would be nice to have just the bug fix in isolation, > if it will apply to what I have here (wormux-0.8.2). > Even if it requires moderate intelligence to backport > I could probably do that. > > But if this is too much hassle I'll try 0.8.4. >
Well, the problem is that network code has been refactored a lot to allow creation of headless server. Some classes have been pushed in a library and so on. So, it's not very easy to do the job... Anyway, if you love adventures, you can have a look at r5931, r5933... In fact, the std::list<DistantComputer*> cpu in class Network was not locked at all while 2 threads are iterating on it... > Thanks, > Stefan > > Thanks again for your bug report and for your fast feedback! Matt (gentildemon) _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev