Merge pull request #1168 from rhc54/topic/libevent
Somehow, this got left out when merging PR #1109, so let's try it again.
Этот коммит содержится в:
Коммит
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;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user