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
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
x
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
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
z
Classes
Class List
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
x
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
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
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
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
x
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
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
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
z
grpc
include
grpc
impl
codegen
impl/codegen/atm.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2015 gRPC authors.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
#ifndef GRPC_IMPL_CODEGEN_ATM_H
20
#define GRPC_IMPL_CODEGEN_ATM_H
21
22
// IWYU pragma: private, include <grpc/support/atm.h>
23
72
#include <
grpc/impl/codegen/port_platform.h
>
73
74
#if defined(GPR_GCC_ATOMIC)
75
#include <
grpc/impl/codegen/atm_gcc_atomic.h
>
// IWYU pragma: export
76
#elif defined(GPR_GCC_SYNC)
77
#include <
grpc/impl/codegen/atm_gcc_sync.h
>
// IWYU pragma: export
78
#elif defined(GPR_WINDOWS_ATOMIC)
79
#include <
grpc/impl/codegen/atm_windows.h
>
// IWYU pragma: export
80
#else
81
#error could not determine platform for atm
82
#endif
83
84
#ifdef __cplusplus
85
extern
"C"
{
86
#endif
87
90
gpr_atm
gpr_atm_no_barrier_clamped_add
(
gpr_atm
*
value
,
gpr_atm
delta,
91
gpr_atm
min
,
gpr_atm
max
);
92
93
#ifdef __cplusplus
94
}
95
#endif
96
97
#endif
/* GRPC_IMPL_CODEGEN_ATM_H */
atm_gcc_sync.h
max
int max
Definition:
bloaty/third_party/zlib/examples/enough.c:170
gpr_atm_no_barrier_clamped_add
gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, gpr_atm min, gpr_atm max)
Definition:
atm.cc:25
atm_gcc_atomic.h
min
#define min(a, b)
Definition:
qsort.h:83
value
const char * value
Definition:
hpack_parser_table.cc:165
atm_windows.h
gpr_atm
intptr_t gpr_atm
Definition:
impl/codegen/atm_gcc_atomic.h:32
port_platform.h
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:35