Browse Source

turn off system_yield()

David Rose 17 years ago
parent
commit
dd12d8fc61
1 changed files with 3 additions and 1 deletions
  1. 3 1
      panda/src/pipeline/threadSimpleManager.cxx

+ 3 - 1
panda/src/pipeline/threadSimpleManager.cxx

@@ -519,7 +519,9 @@ choose_next_context() {
         } else {
           // Otherwise, we're legitimately at the end of an epoch.
           // Yield, to give some time back to the system.
-          system_yield();
+
+          // On second thought, this might yield too much.
+          //system_yield();
         }
         new_epoch = true;