1
1

opal_progress: fix sched_yield check

Этот коммит содержится в:
Nathan Hjelm 2014-12-09 14:14:20 -07:00
родитель cd0a54d76f
Коммит d0da29351f

Просмотреть файл

@ -187,7 +187,7 @@ opal_progress(void)
events += (callbacks[i])(); events += (callbacks[i])();
} }
#if defined(HAVE_SCHED_YIELD) #if OPAL_HAVE_SCHED_YIELD
if (opal_progress_yield_when_idle && events <= 0) { if (opal_progress_yield_when_idle && events <= 0) {
/* If there is nothing to do - yield the processor - otherwise /* If there is nothing to do - yield the processor - otherwise
* we could consume the processor for the entire time slice. If * we could consume the processor for the entire time slice. If