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
set latency to 0 before calling getRouteAndLatency
[simgrid.git]
/
tools
/
cmake
/
test_prog
/
prog_thread_storage.c
diff --git
a/tools/cmake/test_prog/prog_thread_storage.c
b/tools/cmake/test_prog/prog_thread_storage.c
index
86d2940
..
edcab03
100644
(file)
--- a/
tools/cmake/test_prog/prog_thread_storage.c
+++ b/
tools/cmake/test_prog/prog_thread_storage.c
@@
-6,7
+6,12
@@
#include <stdio.h>
-__thread int thread_specific_variable = 0;
+#ifdef _MSC_VER
+__declspec(thread)
+#else
+__thread
+#endif
+int thread_specific_variable = 0;
int main(void) {