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
Hacking to make it work with broken AMD64 contexts. To try!
[simgrid.git]
/
src
/
xbt
/
context.c
diff --git
a/src/xbt/context.c
b/src/xbt/context.c
index
59b2df2
..
56936cd
100644
(file)
--- a/
src/xbt/context.c
+++ b/
src/xbt/context.c
@@
-180,7
+180,7
@@
static void __context_exit(xbt_context_t context ,int value)
static void *
__context_wrapper(void* c) {
- xbt_context_t context = (xbt_context_t)
c
;
+ xbt_context_t context = (xbt_context_t)
current_context
;
#ifdef CONTEXT_THREADS
context->thread = xbt_thread_self();