Merge pull request #10605 from alalek:ocl_fix_deadlock
commit
0def2dbb73
5 changed files with 78 additions and 15 deletions
@ -0,0 +1,20 @@ |
|||||||
|
// This file is part of OpenCV project.
|
||||||
|
// It is subject to the license terms in the LICENSE file found in the top-level directory
|
||||||
|
// of this distribution and at http://opencv.org/license.html.
|
||||||
|
#ifndef OPENCV_CORE_SRC_UMATRIX_HPP |
||||||
|
#define OPENCV_CORE_SRC_UMATRIX_HPP |
||||||
|
|
||||||
|
namespace cv { |
||||||
|
|
||||||
|
struct CV_EXPORTS UMatDataAutoLock |
||||||
|
{ |
||||||
|
explicit UMatDataAutoLock(UMatData* u); |
||||||
|
UMatDataAutoLock(UMatData* u1, UMatData* u2); |
||||||
|
~UMatDataAutoLock(); |
||||||
|
UMatData* u1; |
||||||
|
UMatData* u2; |
||||||
|
}; |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
#endif // OPENCV_CORE_SRC_UMATRIX_HPP
|
Loading…
Reference in new issue