Merge branch 'phoenix' of github.com:InvictusInnovations/fc into phoenix
This commit is contained in:
commit
e6dcfa40f9
2 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ namespace fc {
|
|||
void thread::sleep_until( const time_point& tp ) {
|
||||
//ilog( "sleep until ${tp} wait: ${delta}", ("tp",tp)("delta",(tp-fc::time_point::now()).count()) );
|
||||
|
||||
if( tp <= (time_point::now()+fc::microseconds(500)) )
|
||||
if( tp <= (time_point::now()+fc::microseconds(10000)) )
|
||||
{
|
||||
this->yield(true);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -447,7 +447,7 @@ namespace fc {
|
|||
void yield_until( const time_point& tp, bool reschedule ) {
|
||||
check_fiber_exceptions();
|
||||
|
||||
if( tp <= (time_point::now()+fc::microseconds(500)) )
|
||||
if( tp <= (time_point::now()+fc::microseconds(10000)) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue