Type Alias ucp_lib_attr_t

Source
pub type ucp_lib_attr_t = ucp_lib_attr;
Expand description

@ingroup UCP_CONTEXT @brief Lib attributes.

The structure defines the attributes that characterize the Library.

Aliased Type§

struct ucp_lib_attr_t {
    pub field_mask: u64,
    pub max_thread_level: ucs_thread_mode_t,
}

Fields§

§field_mask: u64

Mask of valid fields in this structure, using bits from @ref ucp_lib_attr_field. Fields not specified in this mask will be ignored. Provides ABI compatibility with respect to adding new fields.

§max_thread_level: ucs_thread_mode_t

Maximum level of thread support of the library, which is permanent throughout the lifetime of the library. Accordingly, the user can call @ref ucp_worker_create with appropriate @ref ucp_worker_params_t.thread_mode. For supported thread levels please see @ref ucs_thread_mode_t.