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
Use type 'bool' for boolean variables.
[simgrid.git]
/
src
/
kernel
/
context
/
Context.cpp
diff --git
a/src/kernel/context/Context.cpp
b/src/kernel/context/Context.cpp
index
c638be3
..
51dd90b
100644
(file)
--- a/
src/kernel/context/Context.cpp
+++ b/
src/kernel/context/Context.cpp
@@
-25,7
+25,7
@@
unsigned stack_size;
unsigned guard_size;
/** @brief Returns whether some parallel threads are used for the user contexts. */
-
int
is_parallel()
+
bool
is_parallel()
{
return parallel_contexts > 1;
}