From 5302cde188bba80dd38c58eaafa792d621b0818c Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Mon, 25 Jul 2011 18:00:37 -0700 Subject: Made task threads wait instead of sleep, so they can be woken up. This appears to give us much better parallel performance. Also, commented out one more unsafe log and updated rust_kernel.cpp to compile under g++ --- src/rt/circular_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/circular_buffer.cpp') diff --git a/src/rt/circular_buffer.cpp b/src/rt/circular_buffer.cpp index aa0127d8c25..ba098bbee3f 100644 --- a/src/rt/circular_buffer.cpp +++ b/src/rt/circular_buffer.cpp @@ -123,7 +123,7 @@ circular_buffer::dequeue(void *dst) { if (dst != NULL) { memcpy(dst, &_buffer[_next], unit_sz); } - DLOG(sched, mem, "shifted data from index %d", _next); + //DLOG(sched, mem, "shifted data from index %d", _next); _unread -= unit_sz; _next += unit_sz; if (_next == _buffer_sz) { -- cgit 1.4.1-3-g733a5