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
cleanups in java bindings
[simgrid.git]
/
src
/
bindings
/
java
/
JavaContext.cpp
diff --git
a/src/bindings/java/JavaContext.cpp
b/src/bindings/java/JavaContext.cpp
index
cce9499
..
f5f0ffc
100644
(file)
--- a/
src/bindings/java/JavaContext.cpp
+++ b/
src/bindings/java/JavaContext.cpp
@@
-60,7
+60,6
@@
void JavaContextFactory::run_all()
}
}
}
}
-
JavaContext::JavaContext(std::function<void()> code,
void_pfn_smxprocess_t cleanup_func,
smx_process_t process)
JavaContext::JavaContext(std::function<void()> code,
void_pfn_smxprocess_t cleanup_func,
smx_process_t process)
@@
-69,8
+68,7
@@
JavaContext::JavaContext(std::function<void()> code,
static int thread_amount=0;
thread_amount++;
static int thread_amount=0;
thread_amount++;
- /* If the user provided a function for the process then use it
- otherwise is the context for maestro */
+ /* If the user provided a function for the process then use it otherwise is the context for maestro */
if (has_code()) {
this->jprocess = nullptr;
this->begin = xbt_os_sem_init(0);
if (has_code()) {
this->jprocess = nullptr;
this->begin = xbt_os_sem_init(0);