mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Mirror of https://github.com/eclipse-cdt/cdt
![]() Having a compatibility layer for threading operations, like the one we have for sleep, will allow removing a lot of platform dependent code in the test sources, therefore simplifying the tests themselves. I changed MultiThread.cc and MultiThreadRunControl.cc as examples, but there are other tests files that could benefit from it. I also changed MultiThread.cc to remove all the synchronization based on sleeps. It now works using thread barriers, which should make the tests less prone to random failure (although I don't think these ones were particularly flaky) and run faster (since we don't wait for nothing). The fallouts of that change on the Java part of the tests are taken care of as well. Change-Id: I7be86a5727877638c0ff0a489d263ee6bbe84764 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/36814 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Hudson CI Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> |
||
---|---|---|
build | ||
codan | ||
core | ||
cross | ||
debug | ||
doc | ||
dsf | ||
dsf-gdb | ||
jtag | ||
launch/org.eclipse.cdt.launch | ||
llvm | ||
lrparser | ||
memory | ||
p2 | ||
qt | ||
releng | ||
remote | ||
testsrunner | ||
upc | ||
util | ||
visualizer | ||
windows | ||
xlc | ||
.gitignore | ||
pom.xml |