- friend void intrusive_ptr_add_ref(Actor * actor);
- friend void intrusive_ptr_release(Actor * actor);
+ friend XBT_PUBLIC(void) intrusive_ptr_add_ref(Actor * actor);
+ friend XBT_PUBLIC(void) intrusive_ptr_release(Actor * actor);
const char* getProperty(const char* key);
void setProperty(const char* key, const char* value);
Actor* restart();
const char* getProperty(const char* key);
void setProperty(const char* key, const char* value);
Actor* restart();
/** Block the actor, computing the given amount of flops */
XBT_PUBLIC(void) execute(double flop);
/** Block the actor, computing the given amount of flops */
XBT_PUBLIC(void) execute(double flop);
/** Block the actor, computing the given amount of flops at the given priority.
* An execution of priority 2 computes twice as fast as an execution at priority 1. */
XBT_PUBLIC(void) execute(double flop, double priority);
XBT_PUBLIC(void) parallel_execute(int host_nb, sg_host_t* host_list, double* flops_amount, double* bytes_amount);
/** Block the actor, computing the given amount of flops at the given priority.
* An execution of priority 2 computes twice as fast as an execution at priority 1. */
XBT_PUBLIC(void) execute(double flop, double priority);
XBT_PUBLIC(void) parallel_execute(int host_nb, sg_host_t* host_list, double* flops_amount, double* bytes_amount);
+XBT_PUBLIC(void)
+parallel_execute(int host_nb, sg_host_t* host_list, double* flops_amount, double* bytes_amount, double timeout);
+
+XBT_PUBLIC(ExecPtr) exec_init(double flops_amounts);
+XBT_PUBLIC(ExecPtr) exec_async(double flops_amounts);