Revision: 8864
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8864&view=rev
Author:   hsujohnhsu
Date:     2010-09-02 00:43:39 +0000 (Thu, 02 Sep 2010)

Log Message:
-----------
disable goAckThread as it is not used

Modified Paths:
--------------
    code/gazebo/branches/wg/libgazebo/SimIface.cc

Modified: code/gazebo/branches/wg/libgazebo/SimIface.cc
===================================================================
--- code/gazebo/branches/wg/libgazebo/SimIface.cc       2010-09-02 00:42:57 UTC 
(rev 8863)
+++ code/gazebo/branches/wg/libgazebo/SimIface.cc       2010-09-02 00:43:39 UTC 
(rev 8864)
@@ -131,12 +131,16 @@
 
   // Create the thread which waits "blockTimeUs" microseconds and
   // then signals the goAckSignal
-  if (this->goAckThread == NULL)
-  {
-    this->goAckThread = new boost::thread( 
-        boost::bind(&SimulationIface::BlockThread, this));
-    usleep(100);
-  }
+
+  // this thread causes some kind of race condition
+  // goAckSignal is partially unallocated sometimes
+  // comment out for now
+  // if (this->goAckThread == NULL)
+  // {
+  //   this->goAckThread = new boost::thread( 
+  //       boost::bind(&SimulationIface::BlockThread, this));
+  //   usleep(100);
+  // }
 }
 
 
////////////////////////////////////////////////////////////////////////////////


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

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to