Follow-up Comment #1, patch #1846 (project freeciv):
Using threads in the server would make the server a lot more scalable, so
this would be a good improvement. I think that having even more granularity
in the server could be investigated, looking for more tasks that could be run
in separate threads.
Would it be possible to have one thread for every player or connection?
Further, would it be possible to run pathfinding in a separate thread? Of
course, locks would have to be used when accessing shared data, such as the
I really think that having a multithreaded server would be a good improvement
for Freeciv, also for my project on http://www.freeciv.net/ where I think
running longturn games with large maps and many players would benefit from a
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list