wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src thread.cpp


From: Jon Daniel
Subject: [Wesnoth-cvs-commits] wesnoth/src thread.cpp
Date: Tue, 09 Aug 2005 04:02:55 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     05/08/09 08:02:55

Modified files:
        src            : thread.cpp 

Log message:
        Fix waittimeout not switching all the results

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/thread.cpp.diff?tr1=1.10&tr2=1.11&r1=text&r2=text

Patches:
Index: wesnoth/src/thread.cpp
diff -u wesnoth/src/thread.cpp:1.10 wesnoth/src/thread.cpp:1.11
--- wesnoth/src/thread.cpp:1.10 Mon Aug  8 12:48:51 2005
+++ wesnoth/src/thread.cpp      Tue Aug  9 08:02:55 2005
@@ -1,4 +1,4 @@
-/* $Id: thread.cpp,v 1.10 2005/08/08 12:48:51 j_daniel Exp $ */
+/* $Id: thread.cpp,v 1.11 2005/08/09 08:02:55 j_daniel Exp $ */
 /*
    Copyright (C) 2003-5 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -120,7 +120,7 @@
 
 condition::WAIT_TIMEOUT_RESULT condition::wait_timeout(const mutex& m, 
unsigned int timeout)
 {
-       const int res = SDL_CondWaitTimeout(cond_,m.m_,timeout) == 0;
+       const int res = SDL_CondWaitTimeout(cond_,m.m_,timeout);
        switch(res) {
        //the SDL documentation appears backward on when these results are 
returned
        case 0: return WAIT_TIMEOUT;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]