Ralph - please review and revise if necessary.
Add support for PRE_EXISTING values on new subscription This commit was SVN r7334.
Этот коммит содержится в:
родитель
8dfcc41efd
Коммит
d4ef08c074
@ -251,6 +251,16 @@ ADDREQ:
|
|||||||
*/
|
*/
|
||||||
req->idtag = subscription->id;
|
req->idtag = subscription->id;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* New subscription, send initial values?
|
||||||
|
*/
|
||||||
|
if(sub->active && subscription->action & ORTE_GPR_NOTIFY_PRE_EXISTING) {
|
||||||
|
|
||||||
|
if(ORTE_SUCCESS != (rc = orte_gpr_replica_register_callback(sub, NULL))) {
|
||||||
|
ORTE_ERROR_LOG(rc);
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
|
}
|
||||||
DONESUB:
|
DONESUB:
|
||||||
/* record where the subscription went */
|
/* record where the subscription went */
|
||||||
*subptr = sub;
|
*subptr = sub;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user