Revision: 6538
          http://playerstage.svn.sourceforge.net/playerstage/?rev=6538&view=rev
Author:   thjc
Date:     2008-06-11 13:29:28 -0700 (Wed, 11 Jun 2008)

Log Message:
-----------
fixed timeout on driver Wait

Modified Paths:
--------------
    code/player/branches/release-2-1-patches/libplayercore/driver.h

Modified: code/player/branches/release-2-1-patches/libplayercore/driver.h
===================================================================
--- code/player/branches/release-2-1-patches/libplayercore/driver.h     
2008-06-11 18:18:50 UTC (rev 6537)
+++ code/player/branches/release-2-1-patches/libplayercore/driver.h     
2008-06-11 20:29:28 UTC (rev 6538)
@@ -159,7 +159,7 @@
     If TimeOut is set to a positive value this method will return false if the
     timeout occurs before and update is recieved.
     */
-    bool Wait(double TimeOut=0.0) { return this->InQueue->Wait(); }
+    bool Wait(double TimeOut=0.0) { return this->InQueue->Wait(TimeOut); }
 
     /** @brief Wake up the driver if the specified event occurs on the file 
descriptor */
     int AddFileWatch(int fd, bool ReadWatch = true, bool WriteWatch = false, 
bool ExceptWatch = true);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to