Browse Source

comment out assert

David Rose 16 years ago
parent
commit
f60864c31c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      direct/src/plugin/p3dConditionVar.cxx

+ 3 - 1
direct/src/plugin/p3dConditionVar.cxx

@@ -143,7 +143,9 @@ wait(double timeout) {
   if (result != 0 && result != ETIMEDOUT) {
   if (result != 0 && result != ETIMEDOUT) {
     errno = result;
     errno = result;
     perror("pthread_cond_timedwait");
     perror("pthread_cond_timedwait");
-    assert(false);
+    // TODO: investigate why we sometimes get an "Invalid Value" or
+    // some such here.
+    //    assert(false);
   }
   }
 
 
 #endif  // _WIN32
 #endif  // _WIN32