Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e7f4dd1a
Commit
e7f4dd1a
authored
Aug 20, 2012
by
niko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp build fix because the new core.hpp impact on this project
parent
f17f4bda
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
initialization.cpp
modules/ocl/src/initialization.cpp
+3
-3
threadsafe.cpp
modules/ocl/src/threadsafe.cpp
+2
-2
threadsafe.h
modules/ocl/src/threadsafe.h
+3
-3
No files found.
modules/ocl/src/initialization.cpp
View file @
e7f4dd1a
...
...
@@ -44,9 +44,9 @@
//M*/
#include "precomp.hpp"
#include "
T
hreadsafe.h"
#include "
t
hreadsafe.h"
#include <iomanip>
#include "binary
C
aching.hpp"
#include "binary
c
aching.hpp"
using
namespace
cv
;
using
namespace
cv
::
ocl
;
...
...
@@ -775,7 +775,7 @@ namespace cv
{
if
(
val
==
0
)
{
AutoLock
al
(
&
cs
);
my
AutoLock
al
(
&
cs
);
if
(
NULL
==
clCxt
.
get
())
clCxt
.
reset
(
new
Context
);
...
...
modules/ocl/src/threadsafe.cpp
View file @
e7f4dd1a
...
...
@@ -43,8 +43,8 @@
//
//M*/
#include "precomp.hpp"
#include "
T
hreadsafe.h"
//
#include "precomp.hpp"
#include "
t
hreadsafe.h"
CriticalSection
::
CriticalSection
()
{
...
...
modules/ocl/src/threadsafe.h
View file @
e7f4dd1a
...
...
@@ -65,15 +65,15 @@ protected:
#endif
};
class
AutoLock
class
my
AutoLock
{
public
:
explicit
AutoLock
(
CriticalSection
*
lock
)
explicit
my
AutoLock
(
CriticalSection
*
lock
)
{
m_lock
=
lock
;
m_lock
->
Lock
();
};
~
AutoLock
()
~
my
AutoLock
()
{
m_lock
->
Unlock
();
};
...
...
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