openfam::fam::fam_context_close
Returns a user specific fam_context object.
Synopsis
void fam_context_close(fam_context *);
Description
This method closes user specific fam_context object. Any pending non-blocking calls from this context should be ensured to be completed using fam_quiet call.
Input Arguments
fam_context - user specific fam_context object.
Return Values
None. Throws Fam_Exception
on error.
Fam Error Numbers
Error | Description |
---|---|
FAM_ERR_NOPERM | Caller does not have access rights |
FAM_ERR_LIBFABRIC | Libfabric error occurred. |
FAM_ERR_RPC | Communication error from grpc layer. |
FAM_ERR_RPC_CLIENT_NOTFOUND | RPC service not available. |
FAM_ERR_TIMEOUT | Number of libfabric retry count reached. |
Notes
Any attempt to re-use the fam_context object after fam_context_close may result in undefined behavior.