Skip to content

Commit b51bf29

Browse files
authored
Merge pull request #3103 from SergioRAgostinho/cv-gpu
Replace lock in records_maps_rgb tool.
2 parents 94a7685 + a7b7001 commit b51bf29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gpu/kinfu_large_scale/tools/record_maps_rgb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ MapsBuffer::getFront(bool print)
163163
{
164164
boost::shared_ptr< const MapsBuffer::MapsRgb > depth_rgb;
165165
{
166-
std::lock_guard<std::mutex> buff_lock (bmutex_);
166+
std::unique_lock<std::mutex> buff_lock (bmutex_);
167167
while (buffer_.empty ())
168168
{
169169
if (is_done)

0 commit comments

Comments
 (0)