A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a function in xbt to allow setting the stack size of a pthread, according to...
[simgrid.git]
/
include
/
xbt
/
ex.h
diff --git
a/include/xbt/ex.h
b/include/xbt/ex.h
index
ef5b916
..
2d17bff
100644
(file)
--- a/
include/xbt/ex.h
+++ b/
include/xbt/ex.h
@@
-65,7
+65,7
@@
SG_BEGIN_DECL()
# define MAYDAY_CATCH(e) printf("%d %s:%d Catched '%s'\n", \
xbt_getpid(), __FILE__, __LINE__, \
(e).msg \
# define MAYDAY_CATCH(e) printf("%d %s:%d Catched '%s'\n", \
xbt_getpid(), __FILE__, __LINE__, \
(e).msg \
-
),
+ ),
#else
# define MAYDAY_SAVE(m)
# define MAYDAY_RESTORE(m)
#else
# define MAYDAY_SAVE(m)
# define MAYDAY_RESTORE(m)
@@
-313,12
+313,12
@@
XBT_PUBLIC_DATA(const xbt_running_ctx_t) __xbt_ex_ctx_initializer;
/* the exception context */
typedef xbt_running_ctx_t *(*xbt_running_ctx_fetcher_t) (void);
XBT_PUBLIC_DATA(xbt_running_ctx_fetcher_t) __xbt_running_ctx_fetch;
/* the exception context */
typedef xbt_running_ctx_t *(*xbt_running_ctx_fetcher_t) (void);
XBT_PUBLIC_DATA(xbt_running_ctx_fetcher_t) __xbt_running_ctx_fetch;
-
extern xbt_running_ctx_t *
__xbt_ex_ctx_default(void);
+
XBT_PUBLIC( xbt_running_ctx_t *)
__xbt_ex_ctx_default(void);
/* the termination handler */
typedef void (*ex_term_cb_t) (xbt_ex_t *);
XBT_PUBLIC_DATA(ex_term_cb_t) __xbt_ex_terminate;
/* the termination handler */
typedef void (*ex_term_cb_t) (xbt_ex_t *);
XBT_PUBLIC_DATA(ex_term_cb_t) __xbt_ex_terminate;
-
extern void
__xbt_ex_terminate_default(xbt_ex_t * e);
+
XBT_PUBLIC( void )
__xbt_ex_terminate_default(xbt_ex_t * e);
/** @brief Introduce a block where exception may be dealed with
* @hideinitializer
/** @brief Introduce a block where exception may be dealed with
* @hideinitializer
@@
-516,5
+516,5
@@
XBT_PUBLIC(void) xbt_backtrace_display(xbt_ex_t * e);
SG_END_DECL()
SG_END_DECL()
-/** @}
*/
+/** @}
*/
#endif /* __XBT_EX_H__ */
#endif /* __XBT_EX_H__ */