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 change exports the gras_procdata pointer and use the Win32 function GetCurrentPr...
[simgrid.git]
/
src
/
gras
/
Virtu
/
rl_process.c
diff --git
a/src/gras/Virtu/rl_process.c
b/src/gras/Virtu/rl_process.c
index
f5bb0ef
..
c3a2920
100644
(file)
--- a/
src/gras/Virtu/rl_process.c
+++ b/
src/gras/Virtu/rl_process.c
@@
-31,7
+31,7
@@
const char *xbt_procname(void) {
int gras_os_getpid(void) {
#ifdef _WIN32
- return (long int) GetCurrentProcess();
+ return (long int) GetCurrentProcess
Id
();
#else
return (long int) getpid();
#endif