#ifndef SIMIX_PRIVATE_H
#define SIMIX_PRIVATE_H
-#include <stdio.h>
#include "simix/simix.h"
#include "surf/surf.h"
#include "xbt/fifo.h"
smx_comm_type_t type; /* Type of the communication (comm_send,comm_recv) */
smx_rdv_t rdv; /* Rendez-vous where the comm is queued */
- smx_cond_t cond; /* Condition associated to the surf simulation */
+ smx_sem_t sem; /* Semaphore associated to the surf simulation */
int refcount; /* Number of processes involved in the cond */
/* Surf action data */
smx_process_t src_proc;
smx_process_t dst_proc;
+ smx_action_t src_timeout;
+ smx_action_t dst_timeout;
smx_action_t act;
double rate;
double task_size;
void SIMIX_ctx_thread_factory_init(smx_context_factory_t * factory);
void SIMIX_ctx_sysv_factory_init(smx_context_factory_t * factory);
+void SIMIX_ctx_lua_factory_init(smx_context_factory_t * factory);
+void SIMIX_ctx_lua_factory_loadfile(const char *file);
+
void SIMIX_ctx_java_factory_init(smx_context_factory_t * factory);