On Thu, 20 Oct 2011 19:12:53 -0300 Billy Biset <[email protected]> wrote:
> Now, since you mention "careless use of threads and manual memory > management"... is there anything in particular that pops to your head > from the current trunk at googlecode? The main point is that IMO use of them isn't warranted for this particular task. Both pointers and threads can introduce some types of very hard to debug bugs, such as memory corruption and race conditions. Currently I believe that it's possible to accomplish the task using only automatic variables and only ever making threads for (optionally) asio::io_service::run(). This already worked out for addon downloading/uploading code. _______________________________________________ Wesnoth-dev mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-dev
