Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
all actors are unified, no need to virtualize between APIs
[simgrid.git] / src / xbt / xbt_virtu.c
1 /* virtualization layer for XBT */
2
3 /* Copyright (c) 2007-2014. The SimGrid Team. All rights reserved.          */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #include "simgrid/msg.h"
9 #include "xbt/function_types.h"
10 #include "xbt/misc.h"
11 #include "xbt/virtu.h"
12
13 int xbt_getpid()
14 {
15   return MSG_process_self_PID();
16 }
17
18 const char *xbt_procname(void)
19 {
20   return MSG_process_self_name();
21 }