From dd12d8fc618859ab4e27c93509b1d2640eae92c3 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 13 Oct 2008 23:31:51 +0000 Subject: [PATCH] turn off system_yield() --- panda/src/pipeline/threadSimpleManager.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/pipeline/threadSimpleManager.cxx b/panda/src/pipeline/threadSimpleManager.cxx index e4e574c5ff..e7996c188d 100644 --- a/panda/src/pipeline/threadSimpleManager.cxx +++ b/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;