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
Move pending_recv_request_queues into host_data (ie, wanna be process_data)
[simgrid.git]
/
src
/
smpi
/
private.h
diff --git
a/src/smpi/private.h
b/src/smpi/private.h
index
f33b9ba
..
5f79622
100644
(file)
--- a/
src/smpi/private.h
+++ b/
src/smpi/private.h
@@
-91,7
+91,6
@@
typedef struct smpi_global_t {
// FIXME: request queues should be moved to host data...
xbt_fifo_t *pending_send_request_queues;
// FIXME: request queues should be moved to host data...
xbt_fifo_t *pending_send_request_queues;
- xbt_fifo_t *pending_recv_request_queues;
xbt_fifo_t *received_message_queues;
smx_process_t *sender_processes;
xbt_fifo_t *received_message_queues;
smx_process_t *sender_processes;
@@
-116,9
+115,12
@@
typedef struct smpi_host_data_t {
int index;
smx_mutex_t mutex;
smx_cond_t cond;
int index;
smx_mutex_t mutex;
smx_cond_t cond;
+
smx_process_t main;
smx_process_t sender;
smx_process_t receiver;
smx_process_t main;
smx_process_t sender;
smx_process_t receiver;
+
+ xbt_fifo_t pending_recv_request_queue;
} s_smpi_host_data_t;
typedef struct smpi_host_data_t *smpi_host_data_t;
} s_smpi_host_data_t;
typedef struct smpi_host_data_t *smpi_host_data_t;