dacs_group_leave

NAME

dacs_group_leave - Request from a member to leave a DaCS group.

SYNOPSIS

DACS_ERR_T dacs_group_leave ( dacs_group_t *group )

Call parameter  
*group A pointer to the handle of the group to leave.

DESCRIPTION

The dacs_group_leave service removes the calling process from the specified group. All members other than the owner must leave the group before it can be destroyed. The specified group handle is invalidated upon successful return. This service does not block unless the group is not yet closed.

RETURN VALUE

The dacs_group_leave service returns an error indicator defined as:
  • DACS_SUCCESS: normal return.
  • DACS_ERR_INVALID_ADDR: the pointer is invalid.
  • DACS_ERR_INVALID_HANDLE: the group handle does not refer to a valid DaCS group.
  • DACS_ERR_OWNER: the owner of the group may not leave it.

SEE ALSO

dacs_group_init(3), dacs_group_add_member(3), dacs_group_close(3), dacs_group_destroy(3), dacs_group_accept(3), dacs_barrier_wait(3)