A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use std::deque instead of xbt_fifo within mailboxes
[simgrid.git]
/
src
/
simix
/
smx_network_private.h
diff --git
a/src/simix/smx_network_private.h
b/src/simix/smx_network_private.h
index
c3f85b6
..
cc6e381
100644
(file)
--- a/
src/simix/smx_network_private.h
+++ b/
src/simix/smx_network_private.h
@@
-7,6
+7,7
@@
#ifndef _SIMIX_NETWORK_PRIVATE_H
#define _SIMIX_NETWORK_PRIVATE_H
#ifndef _SIMIX_NETWORK_PRIVATE_H
#define _SIMIX_NETWORK_PRIVATE_H
+#include <deque>
#include <xbt/base.h>
#include "simgrid/simix.h"
#include <xbt/base.h>
#include "simgrid/simix.h"
@@
-15,10
+16,10
@@
/** @brief Rendez-vous point datatype */
typedef struct s_smx_mailbox {
char *name;
/** @brief Rendez-vous point datatype */
typedef struct s_smx_mailbox {
char *name;
-
xbt_fifo_t comm_fifo
;
+
std::deque<smx_synchro_t> *comm_queue
;
void *data;
smx_process_t permanent_receiver; //process which the mailbox is attached to
void *data;
smx_process_t permanent_receiver; //process which the mailbox is attached to
-
xbt_fifo_t done_comm_fifo
;//messages already received in the permanent receive mode
+
std::deque<smx_synchro_t> *done_comm_queue
;//messages already received in the permanent receive mode
} s_smx_mailbox_t;
XBT_PRIVATE void SIMIX_mailbox_exit(void);
} s_smx_mailbox_t;
XBT_PRIVATE void SIMIX_mailbox_exit(void);