dacs_remote_mem_destroy

NAME

dacs_remote_mem_destroy - Invalidate sharing of a specified memory region.

SYNOPSIS

DACS_ERR_T dacs_remote_mem_destroy ( dacs_remote_mem_t *mem )

Call parameter  
*mem A pointer to a remote memory handle.

DESCRIPTION

The dacs_remote_mem_destroy service invalidates the sharing of a specific memory region which has been created by dacs_remote_mem_create(). Only the creator of the memory region may destroy it. This service blocks until all users of the memory region have released it.

RETURN VALUE

The dacs_remote_mem_destroy service returns an error indicator defined as:
  • DACS_SUCCESS: normal return.
  • DACS_ERR_INVALID_ADDR: the pointer is invalid.
  • DACS_ERR_INVALID_HANDLE: the remote memory handle is invalid.
  • DACS_ERR_NOT_OWNER: this operation is only valid for the owner of the resource.

SEE ALSO

dacs_remote_mem_create(3), dacs_remote_mem_share(3), dacs_remote_mem_accept(3), dacs_remote_mem_release(3), dacs_remote_mem_query(3)