Re: [Freeciv-Dev] Threads

2013-03-25 Thread Marko Lindqvist
On 23 March 2013 22:48, Jacob Nevins <0jacobnk.fc...@chiark.greenend.org.uk> wrote: > beyond basic re-entrancy. That's something already. In fact, some volunteer out there could check the system calls in utility/ with this in mind. Information alone about any problematic system calls would be us

Re: [Freeciv-Dev] Threads

2013-03-23 Thread Jacob Nevins
Marko Lindqvist writes: > That's quite a moving target. At the moment almost nothing in game > logic is thread safe. The only shared resource between metaserver > thread and other threads is logging, which is protected by mutex. The > little functionality that threaded AI currently has in separete

Re: [Freeciv-Dev] Threads

2013-03-23 Thread Marko Lindqvist
On 23 March 2013 21:02, Jacob Nevins <0jacobnk.fc...@chiark.greenend.org.uk> wrote: > I haven't really been closely following the introduction of threads and > concurrency into Freeciv, although I've been dimly aware that it's > happening. Slowly, but unreliably. > However, it seems likely that

[Freeciv-Dev] Threads

2013-03-23 Thread Jacob Nevins
I haven't really been closely following the introduction of threads and concurrency into Freeciv, although I've been dimly aware that it's happening. However, it seems likely that there are some basics that I (and every other developer) ought to know, such as functions and data structures in commo