#include <xbt/Extendable.hpp>
#include <xbt/functional.hpp>
#include <xbt/string.hpp>
#include <xbt/Extendable.hpp>
#include <xbt/functional.hpp>
#include <xbt/string.hpp>
- 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);
/** Create an actor using a function
*
* If the actor is restarted, the actor has a fresh copy of the function.
/** Create an actor using a function
*
* If the actor is restarted, the actor has a fresh copy of the function.
/** 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);
/** 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, double timeout);
XBT_PUBLIC(void)
parallel_execute(int host_nb, sg_host_t* host_list, double* flops_amount, double* bytes_amount, double timeout);
/** Block the actor until it gets a message from the given mailbox.
*
* See \ref Comm for the full communication API (including non blocking communications).
/** Block the actor until it gets a message from the given mailbox.
*
* See \ref Comm for the full communication API (including non blocking communications).