Follow-up Comment #2, patch #2298 (project freeciv):
- Updated against changes in other patches in series
- Build post in main thread and only do the actual sending in new thread.
Building the post requires accessing numerous data structures that are
currently not protected by mutexes, so accessing them from metaserver thread
would risk them being simultaneously modified by main thread and them being in
inconsistent state (player counter being different from number of player
structures allocated being most severe possibility)
(file #12112)
_______________________________________________________
Additional Item Attachment:
File name: MetaSrvThread_2298-3.diff Size:3 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2298>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev