Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'dev' into 'master'
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 1 Mar 2022 18:35:53 +0000 (18:35 +0000)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 1 Mar 2022 18:35:53 +0000 (18:35 +0000)
Minimal changes to support hosts on/off

See merge request simgrid/simgrid!77

1  2 
src/kernel/activity/CommImpl.cpp
src/kernel/activity/MailboxImpl.cpp
src/kernel/activity/MailboxImpl.hpp

Simple merge
Simple merge
@@@ -52,8 -54,9 +54,9 @@@ public
    void push(CommImplPtr comm);
    void push_done(CommImplPtr done_comm) { done_comm_queue_.push_back(done_comm); }
    void remove(const CommImplPtr& comm);
+   void clear();
    CommImplPtr iprobe(int type, bool (*match_fun)(void*, void*, CommImpl*), void* data);
 -  CommImplPtr find_matching_comm(CommImpl::Type type, bool (*match_fun)(void*, void*, CommImpl*), void* this_user_data,
 +  CommImplPtr find_matching_comm(CommImplType type, bool (*match_fun)(void*, void*, CommImpl*), void* this_user_data,
                                   const CommImplPtr& my_synchro, bool done, bool remove_matching);
    bool is_permanent() const { return permanent_receiver_ != nullptr; }
    actor::ActorImplPtr get_permanent_receiver() const { return permanent_receiver_; }