Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
note for next time: try to not forget half of the commit when pushing.
authordegomme <augustin.degomme@unibas.ch>
Thu, 17 Nov 2016 05:46:57 +0000 (22:46 -0700)
committerdegomme <augustin.degomme@unibas.ch>
Thu, 17 Nov 2016 05:46:57 +0000 (22:46 -0700)
src/simix/smx_network_private.h

index cf56518..51b0176 100644 (file)
@@ -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);
   }