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
Merge branch 'master' into 'rework-energy-plugin'
[simgrid.git]
/
src
/
simix
/
popping_private.hpp
diff --git
a/src/simix/popping_private.hpp
b/src/simix/popping_private.hpp
index
338a29b
..
fce643c
100644
(file)
--- a/
src/simix/popping_private.hpp
+++ b/
src/simix/popping_private.hpp
@@
-43,13
+43,13
@@
union u_smx_scalar {
* @brief Represents a simcall to the kernel.
*/
struct s_smx_simcall {
* @brief Represents a simcall to the kernel.
*/
struct s_smx_simcall {
- e_smx_simcall_t call_;
- smx_actor_t issuer_;
- smx_timer_t timeout_cb_; // Callback to timeouts
+ e_smx_simcall_t call_
= SIMCALL_NONE
;
+ smx_actor_t issuer_
= nullptr
;
+ smx_timer_t timeout_cb_
= nullptr
; // Callback to timeouts
simgrid::mc::SimcallInspector* inspector_ = nullptr; // makes that simcall observable by the MC
simgrid::mc::SimcallInspector* inspector_ = nullptr; // makes that simcall observable by the MC
- int mc_value_;
- u_smx_scalar args_[11];
- u_smx_scalar result_;
+ int mc_value_
= 0
;
+ u_smx_scalar args_[11]
= {{0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}}
;
+ u_smx_scalar result_
= {0}
;
};
#define SIMCALL_SET_MC_VALUE(simcall, value) ((simcall).mc_value_ = (value))
};
#define SIMCALL_SET_MC_VALUE(simcall, value) ((simcall).mc_value_ = (value))