X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a882344bc908a258a991701e226556ec23fd7cd6..b58b0ba2f6b92efa234677e19dd998346113504d:/examples/c/app-chainsend/chainsend.h diff --git a/examples/c/app-chainsend/chainsend.h b/examples/c/app-chainsend/chainsend.h index 9366babcae..86a86aaad7 100644 --- a/examples/c/app-chainsend/chainsend.h +++ b/examples/c/app-chainsend/chainsend.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2022. The SimGrid Team. +/* Copyright (c) 2012-2023. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,6 +7,7 @@ #ifndef CHAINSEND_H #define CHAINSEND_H +#include "simgrid/activity_set.h" #include "simgrid/actor.h" #include "simgrid/comm.h" #include "simgrid/engine.h" @@ -30,7 +31,7 @@ typedef struct s_broadcaster { unsigned int piece_count; sg_mailbox_t first; sg_mailbox_t* mailboxes; - sg_comm_t* pending_sends; + sg_activity_set_t pending_sends; } s_broadcaster_t; typedef s_broadcaster_t* broadcaster_t; @@ -54,8 +55,8 @@ typedef struct s_peer { unsigned long long received_bytes; unsigned int received_pieces; unsigned int total_pieces; - sg_comm_t* pending_recvs; - sg_comm_t* pending_sends; + sg_activity_set_t pending_recvs; + sg_activity_set_t pending_sends; } s_peer_t; typedef s_peer_t* peer_t;