Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-camera-slsdetector
Commits
4183241e
Commit
4183241e
authored
Jul 26, 2018
by
Alejandro Homs Puron
Committed by
operator for beamline
Aug 09, 2018
Browse files
Limit to 0.5 sec the waiting time for Lima to finish processing
parent
95d2d158
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SlsDetectorCPUAffinity.cpp
View file @
4183241e
...
...
@@ -1446,7 +1446,7 @@ ProcessingFinishedEvent::imageStatusChanged(
GlobalCPUAffinityMgr
::
GlobalCPUAffinityMgr
(
Camera
*
cam
)
:
m_cam
(
cam
),
m_proc_finished
(
NULL
),
m_lima_finished_timeout
(
3
)
m_lima_finished_timeout
(
0.5
)
{
DEB_CONSTRUCTOR
();
...
...
@@ -1632,7 +1632,7 @@ void GlobalCPUAffinityMgr::waitLimaFinished()
AutoMutex
l
=
lock
();
while
(
m_state
!=
Ready
)
{
if
(
m_cond
.
wait
(
1
))
if
(
m_cond
.
wait
(
0.
1
))
continue
;
AutoMutexUnlock
u
(
l
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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