URL:
<http://gna.org/patch/?2297>
Summary: Dummy threads
Project: Freeciv
Submitted by: cazfi
Submitted on: Mon 10 Jan 2011 05:56:58 PM EET
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 (almost) dummy thread functions to be compiled when neither
thread implementation is available.
Instead of really creating new threads, this runs function in calling thread.
This obviously works only in that special situation when two threads are not
really *required* to run simultaneously. For the first thread class usage that
is the case. (Yes, I know I said I'm not going to use thread class
immediately, but it was so easy and I had a spare moment...)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 10 Jan 2011 05:56:58 PM EET Name: DummyThreads.diff Size: 3kB
By: cazfi
<http://gna.org/patch/download.php?file_id=11770>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2297>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev