From e04d544016a61978ae7ed624058d76e972653df3 Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Mon, 10 Mar 2014 17:37:38 -0400 Subject: [PATCH] Remove erroneous assert in fc::thread_d::check_for_timeouts() I believe this assert was being triggered when the only task on a thread did a fc::usleep (it might only have been when the sleep was of very short duration). --- src/thread/thread_d.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thread/thread_d.hpp b/src/thread/thread_d.hpp index 9a93867..a23d922 100644 --- a/src/thread/thread_d.hpp +++ b/src/thread/thread_d.hpp @@ -430,9 +430,9 @@ namespace fc { else { //ilog( "..." ); - FC_ASSERT( c != current ) //ilog( "ready_push_front" ); - ready_push_front( c ); + if (c != current) + ready_push_front( c ); } } return time_point::min();