Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add the stubs to properties related functions in real life
[simgrid.git] / src / gras / Virtu / rl_process.c
index 4f542af..477c547 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
@@ -48,6 +48,27 @@ gras_procdata_t *gras_procdata_get(void) {
 }
 
 void gras_agent_spawn(const char *name, void *data, 
-                     xbt_main_func_t code, int argc, char *argv[]) {
+                     xbt_main_func_t code, int argc, char *argv[], xbt_dict_t properties) {
    THROW_UNIMPLEMENTED;
 }
+
+/* **************************************************************************
+ * Properties
+ * **************************************************************************/
+
+const char* gras_process_property_value(char* name) {
+   THROW_UNIMPLEMENTED;
+}
+xbt_dict_t gras_process_properties(void) {
+   THROW_UNIMPLEMENTED;
+}
+
+const char* gras_os_host_property_value(char* name) {
+   THROW_UNIMPLEMENTED;
+}
+xbt_dict_t gras_os_host_properties(void) {
+   THROW_UNIMPLEMENTED;
+}
+
+
+  
\ No newline at end of file