1
1

Merge pull request #1168 from rhc54/topic/libevent

Somehow, this got left out when merging PR #1109, so let's try it again.
Этот коммит содержится в:
rhc54 2015-12-01 07:56:36 -08:00
родитель 6a4ec3396a 7ac5c082ff
Коммит ac892a667a

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

@ -1566,8 +1566,11 @@ event_base_loop(struct event_base *base, int flags)
EVBASE_ACQUIRE_LOCK(base, th_base_lock);
if (base->running_loop) {
event_warnx("%s: reentrant invocation. Only one event_base_loop"
" can run on each event_base at once.", __func__);
/***** OMPI change ****/
#if OPAL_ENABLE_DEBUG
event_warnx("%s: reentrant invocation. Only one event_base_loop"
" can run on each event_base at once.", __func__);
#endif
EVBASE_RELEASE_LOCK(base, th_base_lock);
return -1;
}