Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This change exports the gras_procdata pointer and use the Win32 function GetCurrentPr...
[simgrid.git] / src / gras / Virtu / rl_process.c
index f5bb0ef..c3a2920 100644 (file)
@@ -31,7 +31,7 @@ const char *xbt_procname(void) {
 
 int gras_os_getpid(void) {
 #ifdef _WIN32
-   return (long int) GetCurrentProcess();
+   return (long int) GetCurrentProcessId();
 #else
    return (long int) getpid();
 #endif