dacs_group_init

NAME

dacs_group_init - Initialize a DaCS group.

SYNOPSIS

DACS_ERR_T dacs_group_init ( dacs_group_t *group, uint32_t flags )

Call parameter  
flags Flags for group initialization.
Return parameter  
*group A pointer to a group handle which is filled in upon successful return.
Note: In SDK 3.0 no flags will be supported and the flags value passed in must be zero.

DESCRIPTION

The dacs_group_init service initializes a DaCS group and returns a handle to the group. The calling process is the owner of the group. The owner process is not a member of the group by default, but may add itself as a member.

Note: In SDK 3.0 only an HE can initiate a group.

RETURN VALUE

The dacs_group_init service returns an error indicator defined as:
  • DACS_SUCCESS: normal return.
  • DACS_ERR_INVALID_ADDR: the pointer is invalid.
  • DACS_ERR_INVALID_ATTR: the flag or enumerated constant is invalid.
  • DACS_ERR_NO_RESOURCE: could not allocate required resources.

SEE ALSO

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