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
Define xbt_os_procname().
[simgrid.git]
/
src
/
xbt
/
xbt_virtu.c
diff --git
a/src/xbt/xbt_virtu.c
b/src/xbt/xbt_virtu.c
index
e0b9ab6
..
efe333d
100644
(file)
--- a/
src/xbt/xbt_virtu.c
+++ b/
src/xbt/xbt_virtu.c
@@
-11,6
+11,8
@@
#include "xbt/function_types.h"
#include "simgrid/simix.h"
#include "xbt/function_types.h"
#include "simgrid/simix.h"
+char *xbt_os_procname_data = NULL;
+
static int xbt_fake_pid(void)
{
return 0;
static int xbt_fake_pid(void)
{
return 0;
@@
-40,3
+42,7
@@
const char *xbt_procname(void)
return SIMIX_process_self_get_name();
}
return SIMIX_process_self_get_name();
}
+const char *xbt_os_procname(void)
+{
+ return xbt_os_procname_data;
+}