Blog
Community
Development
Documentation
CNDP
22.08.0
Main Page
Related Pages
Data Structures
Data Structures
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
e
f
g
h
i
j
k
l
m
n
p
s
t
u
v
x
Variables
Typedefs
a
b
c
h
i
j
l
m
o
p
s
t
u
v
Enumerations
Enumerator
_
a
c
d
e
j
m
p
r
s
t
u
Macros
_
a
c
d
e
h
i
j
k
l
m
o
p
r
t
u
v
x
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
cthread_once.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright (c) 2019-2022 Intel Corporation
3
*/
4
5
#ifndef _CTHREAD_ONCE_H_
6
#define _CTHREAD_ONCE_H_
7
8
#include "cthread_queue.h"
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
struct
cthread_once
{
15
struct
cthread_sched
*sched;
16
atomic_uint_least32_t count;
17
struct
cthread_mutex *mutex;
18
}
__cne_cache_aligned
;
19
20
#ifdef __cplusplus
21
}
22
#endif
23
24
#endif
/* _CTHREAD_ONCE_H_ */
__cne_cache_aligned
#define __cne_cache_aligned
Definition:
cne_common.h:379
cthread_once
CNDP_API int cthread_once(struct cthread_once *once, int(*func)(void *), void *arg)
cthread_sched
Definition:
cthread_int.h:72
lib
usr
clib
cthread
cthread_once.h
Generated by
1.9.1