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
This seems to be useless since ... a long time, now (and it breaks on macos)
[simgrid.git]
/
src
/
simix
/
smx_process.cpp
diff --git
a/src/simix/smx_process.cpp
b/src/simix/smx_process.cpp
index
f61113a
..
99063d9
100644
(file)
--- a/
src/simix/smx_process.cpp
+++ b/
src/simix/smx_process.cpp
@@
-768,9
+768,9
@@
int SIMIX_process_get_PPID(smx_process_t self){
return self->ppid;
}
return self->ppid;
}
-void* SIMIX_process_self_get_data(
smx_process_t self
)
+void* SIMIX_process_self_get_data()
{
{
-
xbt_assert(self == SIMIX_process_self(), "This is not the current process"
);
+
smx_process_t self = SIMIX_process_self(
);
if (!self) {
return NULL;
if (!self) {
return NULL;
@@
-778,9
+778,9
@@
void* SIMIX_process_self_get_data(smx_process_t self)
return SIMIX_process_get_data(self);
}
return SIMIX_process_get_data(self);
}
-void SIMIX_process_self_set_data(
smx_process_t self,
void *data)
+void SIMIX_process_self_set_data(void *data)
{
{
-
xbt_assert(self == SIMIX_process_self(), "This is not the current process"
);
+
smx_process_t self = SIMIX_process_self(
);
SIMIX_process_set_data(self, data);
}
SIMIX_process_set_data(self, data);
}