summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
110b155)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@698
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
#include "gras_config.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(context, xbt, "Context");
#include "gras_config.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(context, xbt, "Context");
-#define WARNING(format, ...) (fprintf(stderr, "[%s , %s : %d] ", __FILE__, __FUNCTION__, __LINE__),\
- fprintf(stderr, format, ## __VA_ARGS__), \
- fprintf(stderr, "\n"))
-#define VOIRP(expr) WARNING(" {" #expr " = %p }", expr)
+/* #define WARNING(format, ...) (fprintf(stderr, "[%s , %s : %d] ", __FILE__, __FUNCTION__, __LINE__),\ */
+/* fprintf(stderr, format, ## __VA_ARGS__), \ */
+/* fprintf(stderr, "\n")) */
+/* #define VOIRP(expr) WARNING(" {" #expr " = %p }", expr) */
#ifndef HAVE_UCONTEXT_H
/* don't want to play with conditional compilation in automake tonight, sorry.
#ifndef HAVE_UCONTEXT_H
/* don't want to play with conditional compilation in automake tonight, sorry.
res->code = code;
res->uc.uc_link = NULL;
res->code = code;
res->uc.uc_link = NULL;
+ res->argc = argc;
+ res->argv = argv;
/* res->uc.uc_link = &(current_context->uc); */
/* WARNING : when this context is over, the current_context (i.e. the
father), is awaken... Theorically, the wrapper should prevent using
/* res->uc.uc_link = &(current_context->uc); */
/* WARNING : when this context is over, the current_context (i.e. the
father), is awaken... Theorically, the wrapper should prevent using