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
[sonar] Convert integer literals to bool literals.
[simgrid.git]
/
src
/
include
/
xbt
/
parmap.hpp
diff --git
a/src/include/xbt/parmap.hpp
b/src/include/xbt/parmap.hpp
index
58b59cd
..
295ad66
100644
(file)
--- a/
src/include/xbt/parmap.hpp
+++ b/
src/include/xbt/parmap.hpp
@@
-294,7
+294,7
@@
template <typename T> void Parmap<T>::worker_main(ThreadData* data)
XBT_CDEBUG(xbt_parmap, "New worker thread created");
/* Worker's main loop */
- while (
1
) {
+ while (
true
) {
round++; // New scheduling round
parmap.synchro->worker_wait(round);
if (parmap.destroying)