AJA NTV2 SDK
17.6.0.1688
NTV2 SDK 17.6.0.1688
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
r
s
t
u
v
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
_
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
b
c
e
g
k
n
r
v
Related Functions
:
a
b
c
d
j
o
s
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Typedefs
_
a
b
c
d
f
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Enumerations
_
a
b
c
d
e
f
h
i
j
k
m
n
p
q
r
s
t
u
v
x
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
lockimpl.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
8
#ifndef AJA_LOCK_IMPL_H
9
#define AJA_LOCK_IMPL_H
10
11
#include <pthread.h>
12
//#include <semaphore.h>
13
#include "
ajabase/system/system.h
"
14
#include "
ajabase/common/common.h
"
15
#include "
ajabase/system/lock.h
"
16
17
18
class
AJALockImpl
19
{
20
public
:
21
22
AJALockImpl
(
const
char
* pName);
23
virtual
~AJALockImpl
();
24
25
AJAStatus
Lock
(uint32_t uTimeout = 0xffffffff);
26
AJAStatus
Unlock
();
27
28
private
:
29
const
char
* mName;
30
pthread_t mOwner;
31
int
mRefCount;
32
pthread_mutex_t mMutex;
// For protecting the member variables
33
};
34
35
#endif // AJA_LOCK_IMPL_H
36
AJALockImpl::~AJALockImpl
virtual ~AJALockImpl()
Definition:
lockimpl.cpp:72
AJALockImpl::Unlock
AJAStatus Unlock()
Definition:
lockimpl.cpp:143
AJALockImpl
Definition:
lockimpl.h:18
AJAStatus
AJAStatus
Definition:
types.h:378
lock.h
Declares the AJALock class.
AJALockImpl::Lock
AJAStatus Lock(uint32_t uTimeout=0xffffffff)
Definition:
lockimpl.cpp:87
system.h
System specific functions.
common.h
Private include file for all ajabase sources.
AJALockImpl::AJALockImpl
AJALockImpl(const char *pName)
Definition:
lockimpl.cpp:20
libajantv2
ajabase
system
bm
lockimpl.h
Generated on Wed Mar 5 2025 11:06:23 for AJA NTV2 SDK by
1.8.17