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
new example, Java implementation of the Token Ring
[simgrid.git]
/
include
/
simgrid
/
simix.hpp
diff --git
a/include/simgrid/simix.hpp
b/include/simgrid/simix.hpp
index d4200a308094895970d9cdd91dbac0d4476c0110..fe3d4fd611a85a236474018d23ee4922800a2b58 100644
(file)
--- a/
include/simgrid/simix.hpp
+++ b/
include/simgrid/simix.hpp
@@
-100,7
+100,7
@@
XBT_PUBLIC(void) registerFunction(const char* name, ActorCodeFactory factory);
* int argc, char **argv: parameters passed to code
* xbt_dict_t pros: properties
*/
* int argc, char **argv: parameters passed to code
* xbt_dict_t pros: properties
*/
-typedef smx_
process
_t (*smx_creation_func_t) (
+typedef smx_
actor
_t (*smx_creation_func_t) (
/* name */ const char*,
std::function<void()> code,
/* userdata */ void*,
/* name */ const char*,
std::function<void()> code,
/* userdata */ void*,
@@
-108,12
+108,12
@@
typedef smx_process_t (*smx_creation_func_t) (
/* kill_time */ double,
/* props */ xbt_dict_t,
/* auto_restart */ int,
/* kill_time */ double,
/* props */ xbt_dict_t,
/* auto_restart */ int,
- /* parent_process */ smx_
process
_t);
+ /* parent_process */ smx_
actor
_t);
extern "C"
XBT_PUBLIC(void) SIMIX_function_register_process_create(smx_creation_func_t function);
extern "C"
XBT_PUBLIC(void) SIMIX_function_register_process_create(smx_creation_func_t function);
-XBT_PUBLIC(smx_
process
_t) simcall_process_create(const char *name,
+XBT_PUBLIC(smx_
actor
_t) simcall_process_create(const char *name,
std::function<void()> code,
void *data,
const char *hostname,
std::function<void()> code,
void *data,
const char *hostname,