DACS_ERR_T dacs_group_add_member ( de_id_t de, dacs_process_id_t pid, dacs_group_t group )
Call parameters | |
de | The DE ID of the member to add. The group owner may specify a value of DACS_DE_SELF to add itself. |
pid | The process ID of the member to add. The group owner may specify a value of DACS_PID_SELF to add itself. |
group | The handle of the group to which the new member is to be added. |
The dacs_group_add_member service adds the specified de/pid as a member of the specified group. This service can only be called by the process which owns the group. If the owner process is adding itself the service returns immediately. If the member to be added is not the owner of the group this service blocks, waiting for an associated dacs_group_accept() call from the new member.