patchFreeciv - Patches: patch #4954, Build threaded AI to Windows...

Show feedback again

patch #4954: Build threaded AI to Windows Installer build

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Tue 15 Jul 2014 02:39:52 AM UTC  
Category: generalPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: 3.0.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue 21 Apr 2015 09:47:01 PM UTC, comment #2:

In 3.0, tinycthreads implementation could be used.

Marko Lindqvist <cazfi>
Project Administrator
Fri 18 Jul 2014 09:23:13 AM UTC, comment #1:

> so the support should be sufficient for threaded AI

Doesn't look like that in actual testing. Loading threaded AI fails.

Marko Lindqvist <cazfi>
Project Administrator
Tue 15 Jul 2014 02:39:52 AM UTC, original submission:

I think we could add threaded AI to Windows Installer builds in 2.6. Attached patch is still untested to confirm the fact, but I've seen Installer builds to use pthread implementation instead of windows threads for metaserver communication already, so the support should be sufficient for threaded AI.

- As classic AI still remains the default, just the availability of the threaded AI should not break anything (in fact, getting it to use is somewhat involved process at the moment, so it won't cause any problems by getting used by accident)
- It should not take up too much resources when dormant (this could be still improved so that while it's built in to the binary, server could still be started so that it's not included to the list of AI types at all)
- With the changes I have in pipe already, it does differ from classic AI enough to be considered more than redundant copy

Marko Lindqvist <cazfi>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #21429:  WinThreaded.patch added by cazfi (693B - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Jan 2016 08:08:32 AM UTCcazfiStatusPostponed=>None
      Planned Release2.6.0=>3.0.0
    Sat 19 Jul 2014 09:02:49 PM UTCcazfiStatusDone=>Postponed
    Fri 18 Jul 2014 09:23:13 AM UTCcazfiStatusReady For Test=>Done
    Tue 15 Jul 2014 02:39:52 AM UTCcazfiAttached File-=>Added WinThreaded.patch, #21429
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup