Salome HOME
projects
/
modules
/
yacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83aa14f
)
Fix race condition that could cause SIGSEGV with "Stop on error" mode
author
Renaud Barate
<renaud.barate@edf.fr>
Tue, 7 Apr 2015 14:34:21 +0000
(16:34 +0200)
committer
Renaud Barate
<renaud.barate@edf.fr>
Tue, 7 Apr 2015 14:34:21 +0000
(16:34 +0200)
src/engine/Executor.cxx
patch
|
blob
|
history
diff --git
a/src/engine/Executor.cxx
b/src/engine/Executor.cxx
index a36b45531a0504354d63939aa277b872845eb123..6496b81414e7c4e97ee19510313cb54a44f27390 100644
(file)
--- a/
src/engine/Executor.cxx
+++ b/
src/engine/Executor.cxx
@@
-364,7
+364,10
@@
void Executor::RunB(Scheduler *graph,int debug, bool fromScratch)
{
saveState(_dumpErrorFile);
}
- _trace.close();
+ {
+ YACS::BASES::AutoLocker<YACS::BASES::Mutex> alck(&_mutexForTrace);
+ _trace.close();
+ }
DEBTRACE("End of RunB thread");
}