1
1

Have the trigger event return the event itself in the callback function so it can be reset, if desired

This commit was SVN r22101.
Этот коммит содержится в:
Ralph Castain 2009-10-15 02:35:53 +00:00
родитель 2665825693
Коммит 2f91a4833b

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

@ -518,7 +518,7 @@ int orte_wait_event(opal_event_t **event, orte_trigger_event_t *trig,
trig->channel = p[1]; trig->channel = p[1];
/* define the event to fire when someone writes to the pipe */ /* define the event to fire when someone writes to the pipe */
opal_event_set(*event, p[0], OPAL_EV_READ, cbfunc, NULL); opal_event_set(*event, p[0], OPAL_EV_READ, cbfunc, trig);
/* Add it to the active events, without a timeout */ /* Add it to the active events, without a timeout */
opal_event_add(*event, NULL); opal_event_add(*event, NULL);