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
move some public MC prototypes to a public header file
[simgrid.git]
/
src
/
mc
/
mc_ignore.h
diff --git
a/src/mc/mc_ignore.h
b/src/mc/mc_ignore.h
index
fef9bcd
..
fef3326
100644
(file)
--- a/
src/mc/mc_ignore.h
+++ b/
src/mc/mc_ignore.h
@@
-1,22
+1,26
@@
-/* Copyright (c) 2015
. The SimGrid Team. All rights reserved.
*/
+/* Copyright (c) 2015
-2017. The SimGrid Team. All rights reserved.
*/
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <xbt/dynar.h>
+#ifndef SIMGRID_MC_IGNORE_H
+#define SIMGRID_MC_IGNORE_H
-#include "
mc/datatypes
.h"
-#include "
mc_process
.h"
+#include "
src/internal_config
.h"
+#include "
xbt/dynar
.h"
-#include "xbt/misc.h" /* SG_BEGIN_DECL */
+#if HAVE_UCONTEXT_H
+#include <ucontext.h> /* context relative declarations */
+#endif
-SG_BEGIN_DECL();
-void MC_heap_region_ignore_insert(mc_heap_ignore_region_t region);
-void MC_process_ignore_memory(mc_process_t process, void *addr, size_t size);
-void MC_stack_area_add(stack_region_t stack_area);
+SG_BEGIN_DECL();
-xbt_dynar_t MC_checkpoint_ignore_new(void);
+#if HAVE_UCONTEXT_H
+XBT_PUBLIC(void) MC_register_stack_area(void *stack, smx_actor_t process, ucontext_t* context, size_t size);
+#endif
SG_END_DECL();
SG_END_DECL();
+
+#endif