URL:
<http://gna.org/patch/?2794>
Summary: Thread condition variables
Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 12 Jul 2011 08:25:21 PM EEST
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.4.0
_______________________________________________________
Details:
This patch adds condition variables to freeciv threading framework. This
includes only pthreads based implementation. As support for condition
variables is checked separately, i.e, it's not new requirement for basic
thread support we already have, lack of windows implementation does not break
anything that currently works. Condition variable support will be needed only
by threaded AI, not by any core freeciv functionality (I don't think loadable
ai modules work at all in Windows at the moment)
I do have written some kind of Windows side just based on documentation. So
far it doesn't even compile. Anyway, documentation states that required
functionality does not exist in XP or 2000. So even when we will have Windows
implementation, it will require at least Vista. Anyway, that's stuff for
future ticket.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 12 Jul 2011 08:25:21 PM EEST Name: ThreadCondVars.diff Size: 6kB
By: cazfi
<http://gna.org/patch/download.php?file_id=13536>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2794>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev