Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This variable is used only with contexts, not with pthreads
[simgrid.git] / src / xbt / context_private.h
index 5912e5c..269fb1f 100644 (file)
 #include "xbt/swag.h"
 #include "xbt/dynar.h" /* void_f_pvoid_t */
 #include "portable.h"  /* loads context system definitions */
+#include "ucontext_stack.h"  /* loads context system definitions */
 
 #include "xbt/context.h"
+#include "xbt/ex.h"
 
 #ifdef S_SPLINT_S
 /* Dummy definition for splint since it chokes on ucontext.h */
@@ -51,6 +53,7 @@ typedef struct s_xbt_context {
   void *startup_arg;
   void_f_pvoid_t *cleanup_func;
   void *cleanup_arg;
+  ex_ctx_t *exception;         /* exception */
 } s_xbt_context_t;
 #else