Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : add size of stack in parameter of the function MC_new_stack_area
[simgrid.git] / src / simix / smx_context_sysv.c
index 63a0b66..9764af2 100644 (file)
@@ -169,7 +169,7 @@ smx_ctx_sysv_create_context_sized(size_t size, xbt_main_func_t code,
   }
 
   if(MC_is_active() && code)
-    MC_new_stack_area(context, ((smx_process_t)((smx_context_t)context)->data)->name, &(context->uc));
+    MC_new_stack_area(context, ((smx_process_t)((smx_context_t)context)->data)->name, &(context->uc), size);
 
   return (smx_context_t) context;
 }