Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
core
Commits
c040589f
Verified
Commit
c040589f
authored
Mar 10, 2021
by
Tobias WEBER
Browse files
made sure that all child processes are ended
parent
0defaf32
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/monteconvo/sqw_proc_impl.h
View file @
c040589f
...
...
@@ -227,6 +227,7 @@ static void msg_send(ipr::message_queue& msgqueue, const ProcMsg& msg)
static
ProcMsg
msg_recv
(
ipr
::
message_queue
&
msgqueue
)
{
ProcMsg
msg
;
try
{
std
::
size_t
iSize
=
0
;
...
...
@@ -240,6 +241,7 @@ static ProcMsg msg_recv(ipr::message_queue& msgqueue)
{
tl
::
log_err
(
ex
.
what
());
}
return
msg
;
}
...
...
@@ -444,7 +446,7 @@ SqwProc<t_sqw>::SqwProc(const char* pcCfg, SqwProcStartMode mode,
if
(
!
m_bOk
)
{
tl
::
log_err
(
"Child process "
,
m_pidChild
[
iChild
],
" reports failure."
);
m_iNumChildProcesses
=
iChild
;
m_iNumChildProcesses
=
iChild
+
1
;
break
;
}
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment