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
This variable has no reason to be global
[simgrid.git]
/
src
/
simix
/
smx_context_raw.c
diff --git
a/src/simix/smx_context_raw.c
b/src/simix/smx_context_raw.c
index
9a18df8
..
c431cc3
100644
(file)
--- a/
src/simix/smx_context_raw.c
+++ b/
src/simix/smx_context_raw.c
@@
-37,7
+37,7
@@
static xbt_os_thread_key_t raw_worker_id_key; /* thread-specific storage for the
static unsigned long raw_process_index = 0; /* index of the next process to run in the
* list of runnable processes */
static unsigned long raw_process_index = 0; /* index of the next process to run in the
* list of runnable processes */
-smx_ctx_raw_t raw_maestro_context;
+s
tatic s
mx_ctx_raw_t raw_maestro_context;
extern raw_stack_t raw_makecontext(char* malloced_stack, int stack_size,
rawctx_entry_point_t entry_point, void* arg);
extern raw_stack_t raw_makecontext(char* malloced_stack, int stack_size,
rawctx_entry_point_t entry_point, void* arg);