From: degomme Date: Thu, 17 Nov 2016 05:46:57 +0000 (-0700) Subject: note for next time: try to not forget half of the commit when pushing. X-Git-Tag: v3_14~177^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4eb7bc51e832299d593ccb590b54a2ac3a9590d6?ds=sidebyside note for next time: try to not forget half of the commit when pushing. --- diff --git a/src/simix/smx_network_private.h b/src/simix/smx_network_private.h index cf5651883d..51b017684d 100644 --- a/src/simix/smx_network_private.h +++ b/src/simix/smx_network_private.h @@ -20,6 +20,8 @@ #include "popping_private.h" #include "src/simix/ActorImpl.hpp" + +#define MAX_MAILBOX_SIZE 10000000 namespace simgrid { namespace simix { @@ -27,7 +29,7 @@ namespace simix { class Mailbox { public: - Mailbox(const char* name) : piface_(this), name(xbt_strdup(name)), comm_queue(1000), done_comm_queue(1000) {} + Mailbox(const char* name) : piface_(this), name(xbt_strdup(name)), comm_queue(MAX_MAILBOX_SIZE), done_comm_queue(MAX_MAILBOX_SIZE) {} ~Mailbox() { xbt_free(name); }