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
turn SIMIX_comm_new() into a proper constructor
[simgrid.git]
/
src
/
simix
/
Synchro.h
diff --git
a/src/simix/Synchro.h
b/src/simix/Synchro.h
index
9ed8f9f
..
d119a8d
100644
(file)
--- a/
src/simix/Synchro.h
+++ b/
src/simix/Synchro.h
@@
-19,7
+19,7
@@
namespace simix {
Synchro();
virtual ~Synchro();
e_smx_state_t state; /* State of the synchro */
Synchro();
virtual ~Synchro();
e_smx_state_t state; /* State of the synchro */
- char *name
;
/* synchro name if any */
+ char *name
= nullptr;
/* synchro name if any */
xbt_fifo_t simcalls; /* List of simcalls waiting for this synchro */
char *category = nullptr; /* For instrumentation */
xbt_fifo_t simcalls; /* List of simcalls waiting for this synchro */
char *category = nullptr; /* For instrumentation */