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
pthreadsextra.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
8
#ifndef AJA_PTREAD_EXTRA_H
9
#define AJA_PTREAD_EXTRA_H
10
11
#include <pthread.h>
12
#include <sys/types.h>
13
14
// defined in later XCode header
15
16
#ifndef CLOCK_REALTIME
17
18
typedef
int
clockid_t
;
19
20
/* Identifier for system-wide realtime clock. */
21
# define CLOCK_REALTIME 0
22
/* Monotonic system-wide clock. */
23
# define CLOCK_MONOTONIC 1
24
/* High-resolution timer from the CPU. */
25
# define CLOCK_PROCESS_CPUTIME_ID 2
26
/* Thread-specific CPU-time clock. */
27
# define CLOCK_THREAD_CPUTIME_ID 3
28
/* Monotonic system-wide clock, not adjusted for frequency scaling. */
29
# define CLOCK_MONOTONIC_RAW 4
30
/* Identifier for system-wide realtime clock, updated only on ticks. */
31
# define CLOCK_REALTIME_COARSE 5
32
/* Monotonic system-wide clock, updated only on ticks. */
33
# define CLOCK_MONOTONIC_COARSE 6
34
35
#endif
36
37
//ignore the clockid_t in this implementation
38
int
clock_gettime
(
clockid_t
clk_id,
struct
timespec *tp);
39
int
pthread_mutex_timedlock
(pthread_mutex_t *__restrict mutex,
const
struct
timespec *__restrict abs_timeout);
40
pid_t
gettid
(
void
);
41
42
#endif // AJA_PTREAD_EXTRA_H
pthread_mutex_timedlock
int pthread_mutex_timedlock(pthread_mutex_t *__restrict mutex, const struct timespec *__restrict abs_timeout)
Definition:
pthreadsextra.cpp:43
clock_gettime
int clock_gettime(clockid_t clk_id, struct timespec *tp)
Definition:
pthreadsextra.cpp:12
gettid
pid_t gettid(void)
Definition:
pthreadsextra.cpp:73
clockid_t
int clockid_t
Definition:
pthreadsextra.h:18
libajantv2
ajabase
system
mac
pthreadsextra.h
Generated on Wed Mar 5 2025 11:06:23 for AJA NTV2 SDK by
1.8.17