switch (req->call) {
case SIMCALL_NONE:
+ case SIMCALL_MUTEX_LOCK: /* If MUTEX_LOCK is catched by the MC, it means that the mutex is locked by another process, thus the request shouldn't be enabled (loop until another process is executed) */
return FALSE;
case SIMCALL_COMM_WAIT:
// Use rejection in order to avoid skew
long x;
do {
+#ifndef _XBT_WIN32
x = random();
+#else
+ x = rand();
+#endif
} while( x >= accept_size );
return min + (x % output_size);
}