From 066c950174a1224e15bc15bec2c74889ab421bef Mon Sep 17 00:00:00 2001 From: Thonsew Date: Mon, 12 Sep 2011 21:30:13 +0000 Subject: [PATCH] Added todo comment to restore threading to wesnothd... ...once #bug 18654 is fixed --- src/server/server.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/server/server.cpp b/src/server/server.cpp index 09be532af1a..1fc66ab5c8a 100644 --- a/src/server/server.cpp +++ b/src/server/server.cpp @@ -2701,6 +2701,10 @@ void server::update_game_in_lobby(const wesnothd::game* g, network::connection e int main(int argc, char** argv) { int port = 15000; + /** @todo Change min_threads back to 5 after fixing threading. + min_threads was changed from 5 to 1 because wesnothd was exhibiting memory corruption when run with + more than 1 thread + @see https://gna.org/bugs/index.php?18654 */ size_t min_threads = 1; size_t max_threads = 0;