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
Replace the req_todo heap with a table of swags one for each running thread.
[simgrid.git]
/
src
/
simix
/
smurf_private.h
diff --git
a/src/simix/smurf_private.h
b/src/simix/smurf_private.h
index
f7d17fc
..
3bc9d09
100644
(file)
--- a/
src/simix/smurf_private.h
+++ b/
src/simix/smurf_private.h
@@
-119,7
+119,7
@@
SIMIX_REQ_LIST
* \brief Represents a SIMIX request.
*/
typedef struct s_smx_req {
* \brief Represents a SIMIX request.
*/
typedef struct s_smx_req {
- s_xbt_swag_hookup_t
stat
e_hookup;
+ s_xbt_swag_hookup_t
reqtabl
e_hookup;
e_smx_req_t call;
smx_process_t issuer;
e_smx_req_t call;
smx_process_t issuer;
@@
-504,6
+504,7
@@
typedef struct s_smx_req {
void SIMIX_request_init(void);
void SIMIX_request_destroy(void);
void SIMIX_request_init(void);
void SIMIX_request_destroy(void);
+xbt_swag_t SIMIX_request_get_reqlist(int thread_pid);
void SIMIX_request_push(void);
smx_req_t SIMIX_request_pop(void);
void SIMIX_request_answer(smx_req_t);
void SIMIX_request_push(void);
smx_req_t SIMIX_request_pop(void);
void SIMIX_request_answer(smx_req_t);