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 an unused (for the moment) module file
[simgrid.git]
/
src
/
xbt
/
parmap.c
diff --git
a/src/xbt/parmap.c
b/src/xbt/parmap.c
index
fcf8857
..
8492f38
100644
(file)
--- a/
src/xbt/parmap.c
+++ b/
src/xbt/parmap.c
@@
-95,6
+95,7
@@
static void *_xbt_parmap_worker_main(void *arg)
/* Fetch a worker id */
worker_id = __sync_fetch_and_add(&parmap->workers_max_id, 1);
+ xbt_os_thread_set_extra_data((void *)(unsigned long)worker_id);
DEBUG1("New worker thread created (%u)", worker_id);