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
test
cpp
interop
interop_server_bootstrap.cc
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2016 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
#include <signal.h>
20
21
#include "
test/core/util/test_config.h
"
22
#include "
test/cpp/interop/server_helper.h
"
23
#include "
test/cpp/util/test_config.h
"
24
25
gpr_atm
grpc::testing::interop::g_got_sigint
;
26
27
static
void
sigint_handler
(
int
/*x*/
) {
28
gpr_atm_no_barrier_store
(&
grpc::testing::interop::g_got_sigint
,
true
);
29
}
30
31
int
main
(
int
argc,
char
** argv) {
32
grpc::testing::TestEnvironment
env
(&argc, argv);
33
grpc::testing::InitTest
(&argc, &argv,
true
);
34
signal
(SIGINT,
sigint_handler
);
35
36
grpc::testing::interop::RunServer
(
37
grpc::testing::CreateInteropServerCredentials
());
38
39
return
0;
40
}
grpc::testing::InitTest
void InitTest(int *argc, char ***argv, bool remove_flags)
Definition:
test_config_cc.cc:28
gpr_atm_no_barrier_store
#define gpr_atm_no_barrier_store(p, value)
Definition:
impl/codegen/atm_gcc_atomic.h:56
generate.env
env
Definition:
generate.py:37
server_helper.h
grpc::testing::interop::g_got_sigint
gpr_atm g_got_sigint
Definition:
interop_server_bootstrap.cc:25
signal
static void signal(notification *n)
Definition:
alts_tsi_handshaker_test.cc:107
grpc::testing::interop::RunServer
void RunServer(const std::shared_ptr< ServerCredentials > &creds)
Definition:
interop_server.cc:320
test_config.h
gpr_atm
intptr_t gpr_atm
Definition:
impl/codegen/atm_gcc_atomic.h:32
grpc::testing::CreateInteropServerCredentials
std::shared_ptr< ServerCredentials > CreateInteropServerCredentials()
Definition:
server_helper.cc:39
grpc::testing::TestEnvironment
Definition:
test/core/util/test_config.h:54
test_config.h
main
int main(int argc, char **argv)
Definition:
interop_server_bootstrap.cc:31
sigint_handler
static void sigint_handler(int)
Definition:
interop_server_bootstrap.cc:27
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:22