summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b697365)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4845
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
/* globals */
static gras_procdata_t *_gras_procdata = NULL;
/* globals */
static gras_procdata_t *_gras_procdata = NULL;
-XBT_EXPORT_NO_IMPORT(char const *) _gras_procname = NULL;
+XBT_PUBLIC_DATA(char const *) _gras_procname = NULL;
void gras_process_init() {
_gras_procdata=xbt_new0(gras_procdata_t,1);
void gras_process_init() {
_gras_procdata=xbt_new0(gras_procdata_t,1);
int gras_os_getpid(void) {
#ifdef _WIN32
int gras_os_getpid(void) {
#ifdef _WIN32
- return (long int) GetCurrentProcess();
+ return (long int) GetCurrentProcessId();
#else
return (long int) getpid();
#endif
#else
return (long int) getpid();
#endif