NewMadeleine

Documentation

« back to PM2 home.
nm_mcast_interface.h File Reference
Include dependency graph for nm_mcast_interface.h:

Go to the source code of this file.

Data Structures

struct  nm_mcast_req_s
 A multicast send request. More...
 
typedef struct nm_mcast_service_s * nm_mcast_service_t
 Public abstraction for a mcast service.
 
typedef void(* nm_mcast_send_notifier_t) (void *p_ref)
 Public abstraction for the callback called when the mcast_send is completed.
 
typedef struct nm_mcast_req_s nm_mcast_t
 Public abstraction for nm_mcast_req_s.
 
nm_mcast_service_t nm_mcast_init (nm_comm_t p_comm)
 Initializes the mcast interface.
 
void nm_mcast_finalize (nm_mcast_service_t nm_mcast)
 Release the mcast interface.
 
void nm_mcast_send (nm_mcast_service_t nm_mcast, nm_comm_t p_recv_comm, int *p_dests, int *p_prios, int n_dests, nm_tag_t tag, struct nm_data_s *p_data, nm_len_t hlen, nm_coll_tree_kind_t tree_kind)
 Send data in a blocking mode.
 
void nm_mcast_send_init (nm_mcast_service_t nm_mcast, nm_mcast_t *p_mcast)
 Initialize a multicast send.
 
void nm_mcast_send_set_notifier (nm_mcast_t *p_mcast, nm_mcast_send_notifier_t notifier, void *p_ref)
 Attach a notifier to mcast_send, to be called when the root node of the multicast ends its sends.
 
void nm_mcast_isend (nm_mcast_t *p_mcast, nm_comm_t p_comm, int *p_dests, int *p_prios, int n_dests, nm_tag_t tag, struct nm_data_s *p_data, nm_len_t hlen, nm_coll_tree_kind_t tree_kind)
 Send data in a non-blocking mode.
 
void nm_mcast_wait (nm_mcast_t *p_mcast)
 Wait for a non-blocking multicast send.
 
void nm_mcast_send_destroy (nm_mcast_t *p_mcast)
 Free data allocated by nm_mcast_send_init()
 
void nm_mcast_set_default_tree_kind (nm_mcast_service_t nm_mcast, const nm_coll_tree_kind_t kind)
 Change the default tree used for routing data.