Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-camera-slsdetector
Commits
06c1a9f5
Commit
06c1a9f5
authored
Jul 17, 2018
by
Alejandro Homs Puron
Committed by
operator for beamline
Aug 09, 2018
Browse files
Fix bug when RecvCPUAffinityList is empty
parent
f9b8e4f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SlsDetectorCPUAffinity.cpp
View file @
06c1a9f5
...
...
@@ -1574,9 +1574,9 @@ void GlobalCPUAffinityMgr::recvFinished()
CPUAffinity
recv_all
;
RecvCPUAffinityList
::
const_iterator
it
,
end
=
m_curr
.
recv
.
end
();
it
=
m_curr
.
recv
.
begin
()
;
for
(
recv_all
=
(
*
it
++
).
all
();
it
!=
end
;
++
it
)
recv_all
|=
it
->
all
();
if
((
it
=
m_curr
.
recv
.
begin
()
)
!=
end
)
for
(
recv_all
=
(
*
it
++
).
all
();
it
!=
end
;
++
it
)
recv_all
|=
it
->
all
();
if
(
m_curr
.
lima
!=
recv_all
)
{
m_state
=
Changing
;
...
...
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