*
* The first step is to declare the code of your actors (what they do exactly does not matter to this example) and then
* you ask SimGrid to start your actors. There is three ways of doing so:
- * - Directly, by instantiating your actor as paramter to Actor::create();
+ * - Directly, by instantiating your actor as paramter to Actor::create()
* - By first registering your actors before instantiating it;
* - Through the deployment file.
*
private:
friend s_smx_cond;
smx_cond_t cond_;
- ConditionVariable(smx_cond_t cond) : cond_(cond) {}
+ explicit ConditionVariable(smx_cond_t cond) : cond_(cond) {}
public:
ConditionVariable(ConditionVariable const&) = delete;
ConditionVariable& operator=(ConditionVariable const&) = delete;
static void no_func(void *a, void *b, int *length, MPI_Datatype * datatype)
{
+ /* obviously a no-op */
}
#define CREATE_MPI_OP(name, func) \
XBT_PUBLIC(void) tmgr_finalize(void);
XBT_PUBLIC(tmgr_trace_t) tmgr_trace_new_from_file(const char* filename);
-XBT_PUBLIC(tmgr_trace_t) tmgr_trace_new_from_string(const char* id, std::string, double periodicity);
+XBT_PUBLIC(tmgr_trace_t) tmgr_trace_new_from_string(const char* id, std::string input, double periodicity);
SG_END_DECL()