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
indent
[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
687171b
..
e42ef76
100644
(file)
--- a/
src/simix/smx_context_raw.c
+++ b/
src/simix/smx_context_raw.c
@@
-1,6
+1,6
@@
-/* context_raw - fast context switching inspired from System V ucontext
e
s */
+/* context_raw - fast context switching inspired from System V ucontexts */
-/* Copyright (c) 2009
, 2010
. The SimGrid Team.
+/* Copyright (c) 2009
-2013
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-44,7
+44,7
@@
extern raw_stack_t raw_makecontext(char* malloced_stack, int stack_size,
rawctx_entry_point_t entry_point, void* arg);
extern void raw_swapcontext(raw_stack_t* old, raw_stack_t new);
rawctx_entry_point_t entry_point, void* arg);
extern void raw_swapcontext(raw_stack_t* old, raw_stack_t new);
-#if
def
PROCESSOR_x86_64
+#if PROCESSOR_x86_64
__asm__ (
#if defined(APPLE)
".text\n"
__asm__ (
#if defined(APPLE)
".text\n"
@@
-572,7
+572,7
@@
static void smx_ctx_raw_runall_parallel(void)
xbt_parmap_apply(raw_parmap, (void_f_pvoid_t) smx_ctx_raw_resume_parallel,
simix_global->process_to_run);
#else
xbt_parmap_apply(raw_parmap, (void_f_pvoid_t) smx_ctx_raw_resume_parallel,
simix_global->process_to_run);
#else
- xbt_die("You asked for a parallel execution, but you don't have any threads.")
+ xbt_die("You asked for a parallel execution, but you don't have any threads.")
;
#endif
}
#endif
}