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
kill 2 more empty functions: simcall_process_get_name & SIMIX_process_get_name
[simgrid.git]
/
src
/
simix
/
smx_synchro.cpp
diff --git
a/src/simix/smx_synchro.cpp
b/src/simix/smx_synchro.cpp
index bdda6028bc6a72ae35bf92c129dc17d2f01f4ee8..0db61fd5f3f5c7b1688816f5c5548435a5613684 100644
(file)
--- a/
src/simix/smx_synchro.cpp
+++ b/
src/simix/smx_synchro.cpp
@@
-27,7
+27,7
@@
static smx_synchro_t SIMIX_synchro_wait(sg_host_t smx_host, double timeout)
{
XBT_IN("(%p, %f)",smx_host,timeout);
- simgrid::
simix::Raw *sync = new simgrid::simix
::Raw();
+ simgrid::
kernel::activity::Raw *sync = new simgrid::kernel::activity
::Raw();
sync->sleep = surf_host_sleep(smx_host, timeout);
sync->sleep->setData(sync);
XBT_OUT();
@@
-168,7
+168,7
@@
void Mutex::unlock(smx_process_t issuer)
/* If the mutex is not owned by the issuer, that's not good */
if (issuer != this->owner)
THROWF(mismatch_error, 0, "Cannot release that mutex: it was locked by %s (pid:%d), not by you.",
-
SIMIX_process_get_name(this->owner
),SIMIX_process_get_PID(this->owner));
+
this->owner->name.c_str(
),SIMIX_process_get_PID(this->owner));
if (xbt_swag_size(this->sleeping) > 0) {
/*process to wake up */