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
src
core
lib
iomgr
iomgr.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_CORE_LIB_IOMGR_IOMGR_H
20
#define GRPC_CORE_LIB_IOMGR_IOMGR_H
21
22
#include <
grpc/support/port_platform.h
>
23
24
#include <stdlib.h>
25
26
#include "
src/core/lib/iomgr/closure.h
"
27
#include "
src/core/lib/iomgr/port.h
"
28
30
void
grpc_iomgr_init
();
31
33
void
grpc_iomgr_start
();
34
37
void
grpc_iomgr_shutdown
();
38
41
void
grpc_iomgr_shutdown_background_closure
();
42
43
/* Returns true if polling engine runs in the background, false otherwise.
44
* Currently only 'epollbg' runs in the background.
45
*/
46
bool
grpc_iomgr_run_in_background
();
47
49
bool
grpc_iomgr_is_any_background_poller_thread
();
50
54
bool
grpc_iomgr_add_closure_to_background_poller
(
grpc_closure
*
closure
,
55
grpc_error_handle
error
);
56
57
/* Exposed only for testing */
58
size_t
grpc_iomgr_count_objects_for_testing
();
59
60
#endif
/* GRPC_CORE_LIB_IOMGR_IOMGR_H */
grpc_iomgr_start
void grpc_iomgr_start()
Definition:
iomgr.cc:77
error
grpc_error_handle error
Definition:
retry_filter.cc:499
closure.h
grpc_iomgr_shutdown_background_closure
void grpc_iomgr_shutdown_background_closure()
Definition:
iomgr.cc:171
grpc_iomgr_run_in_background
bool grpc_iomgr_run_in_background()
grpc_iomgr_count_objects_for_testing
size_t grpc_iomgr_count_objects_for_testing()
Definition:
iomgr.cc:88
grpc_iomgr_init
void grpc_iomgr_init()
Definition:
iomgr.cc:61
grpc_iomgr_add_closure_to_background_poller
bool grpc_iomgr_add_closure_to_background_poller(grpc_closure *closure, grpc_error_handle error)
Definition:
iomgr.cc:179
port.h
grpc_iomgr_shutdown
void grpc_iomgr_shutdown()
Definition:
iomgr.cc:97
closure
Definition:
proxy.cc:59
grpc_error
Definition:
error_internal.h:42
grpc_closure
Definition:
closure.h:56
grpc_iomgr_is_any_background_poller_thread
bool grpc_iomgr_is_any_background_poller_thread()
Definition:
iomgr.cc:175
port_platform.h
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:22