Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure we won't try to survive to unexpected exceptions
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 12 Apr 2006 00:17:56 +0000 (00:17 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 12 Apr 2006 00:17:56 +0000 (00:17 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2132 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/context.c

index c01edd4..c33311c 100644 (file)
@@ -175,10 +175,13 @@ static ex_ctx_t *__context_ex_ctx(void)
 static void __context_ex_terminate(xbt_ex_t *e) {
   xbt_ex_display(e);
 
 static void __context_ex_terminate(xbt_ex_t *e) {
   xbt_ex_display(e);
 
+  abort();
+   /* FIXME: there should be a configuration variable to choose this
   if(current_context!=init_context) 
     __context_exit(current_context, e->value);
   else
     abort();
   if(current_context!=init_context) 
     __context_exit(current_context, e->value);
   else
     abort();
+    */
 }
 
 /** \name Functions 
 }
 
 /** \name Functions