smx_process_t issuer, smx_req_t req);
static void _SIMIX_sem_wait(smx_sem_t sem, double timeout, smx_process_t issuer,
smx_req_t req);
-static void SIMIX_sem_block_onto(smx_sem_t sem);
/***************************** Synchro action *********************************/
case SIMIX_SRC_TIMEOUT:
TRY {
THROWF(timeout_error, 0, "Synchro's wait timeout");
- } CATCH(req->issuer->running_ctx->exception) {
+ }
+ CATCH(req->issuer->running_ctx->exception) {
req->issuer->doexception = 1;
}
break;
case SIMIX_FAILED:
TRY {
THROWF(host_error, 0, "Host failed");
- } CATCH(req->issuer->running_ctx->exception) {
+ }
+ CATCH(req->issuer->running_ctx->exception) {
req->issuer->doexception = 1;
}
break;