Internalize gpr_thd except for id and currentid
This commit is contained in:
Родитель
b09c58c340
Коммит
c745690caf
4
BUILD
4
BUILD
|
@ -76,7 +76,7 @@ GPR_PUBLIC_HDRS = [
|
|||
"include/grpc/support/sync_generic.h",
|
||||
"include/grpc/support/sync_posix.h",
|
||||
"include/grpc/support/sync_windows.h",
|
||||
"include/grpc/support/thd.h",
|
||||
"include/grpc/support/thd_id.h",
|
||||
"include/grpc/support/time.h",
|
||||
]
|
||||
|
||||
|
@ -494,7 +494,7 @@ grpc_cc_library(
|
|||
"src/core/lib/gpr/spinlock.h",
|
||||
"src/core/lib/gpr/string.h",
|
||||
"src/core/lib/gpr/string_windows.h",
|
||||
"src/core/lib/gpr/thd_internal.h",
|
||||
"src/core/lib/gpr/thd.h",
|
||||
"src/core/lib/gpr/time_precise.h",
|
||||
"src/core/lib/gpr/tls.h",
|
||||
"src/core/lib/gpr/tls_gcc.h",
|
||||
|
|
|
@ -711,7 +711,7 @@ foreach(_hdr
|
|||
include/grpc/support/sync_generic.h
|
||||
include/grpc/support/sync_posix.h
|
||||
include/grpc/support/sync_windows.h
|
||||
include/grpc/support/thd.h
|
||||
include/grpc/support/thd_id.h
|
||||
include/grpc/support/time.h
|
||||
include/grpc/impl/codegen/atm.h
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h
|
||||
|
@ -1679,7 +1679,7 @@ foreach(_hdr
|
|||
include/grpc/support/sync_generic.h
|
||||
include/grpc/support/sync_posix.h
|
||||
include/grpc/support/sync_windows.h
|
||||
include/grpc/support/thd.h
|
||||
include/grpc/support/thd_id.h
|
||||
include/grpc/support/time.h
|
||||
include/grpc/impl/codegen/atm.h
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h
|
||||
|
@ -1966,7 +1966,7 @@ foreach(_hdr
|
|||
include/grpc/support/sync_generic.h
|
||||
include/grpc/support/sync_posix.h
|
||||
include/grpc/support/sync_windows.h
|
||||
include/grpc/support/thd.h
|
||||
include/grpc/support/thd_id.h
|
||||
include/grpc/support/time.h
|
||||
include/grpc/impl/codegen/atm.h
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h
|
||||
|
@ -2525,7 +2525,7 @@ foreach(_hdr
|
|||
include/grpc/support/sync_generic.h
|
||||
include/grpc/support/sync_posix.h
|
||||
include/grpc/support/sync_windows.h
|
||||
include/grpc/support/thd.h
|
||||
include/grpc/support/thd_id.h
|
||||
include/grpc/support/time.h
|
||||
include/grpc/impl/codegen/atm.h
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h
|
||||
|
@ -2989,7 +2989,7 @@ foreach(_hdr
|
|||
include/grpc/support/sync_generic.h
|
||||
include/grpc/support/sync_posix.h
|
||||
include/grpc/support/sync_windows.h
|
||||
include/grpc/support/thd.h
|
||||
include/grpc/support/thd_id.h
|
||||
include/grpc/support/time.h
|
||||
include/grpc/impl/codegen/atm.h
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h
|
||||
|
@ -3710,7 +3710,7 @@ foreach(_hdr
|
|||
include/grpc/support/sync_generic.h
|
||||
include/grpc/support/sync_posix.h
|
||||
include/grpc/support/sync_windows.h
|
||||
include/grpc/support/thd.h
|
||||
include/grpc/support/thd_id.h
|
||||
include/grpc/support/time.h
|
||||
include/grpc/impl/codegen/atm.h
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h
|
||||
|
|
12
Makefile
12
Makefile
|
@ -2935,7 +2935,7 @@ PUBLIC_HEADERS_C += \
|
|||
include/grpc/support/sync_generic.h \
|
||||
include/grpc/support/sync_posix.h \
|
||||
include/grpc/support/sync_windows.h \
|
||||
include/grpc/support/thd.h \
|
||||
include/grpc/support/thd_id.h \
|
||||
include/grpc/support/time.h \
|
||||
include/grpc/impl/codegen/atm.h \
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h \
|
||||
|
@ -3884,7 +3884,7 @@ PUBLIC_HEADERS_C += \
|
|||
include/grpc/support/sync_generic.h \
|
||||
include/grpc/support/sync_posix.h \
|
||||
include/grpc/support/sync_windows.h \
|
||||
include/grpc/support/thd.h \
|
||||
include/grpc/support/thd_id.h \
|
||||
include/grpc/support/time.h \
|
||||
include/grpc/impl/codegen/atm.h \
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h \
|
||||
|
@ -4164,7 +4164,7 @@ PUBLIC_HEADERS_C += \
|
|||
include/grpc/support/sync_generic.h \
|
||||
include/grpc/support/sync_posix.h \
|
||||
include/grpc/support/sync_windows.h \
|
||||
include/grpc/support/thd.h \
|
||||
include/grpc/support/thd_id.h \
|
||||
include/grpc/support/time.h \
|
||||
include/grpc/impl/codegen/atm.h \
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h \
|
||||
|
@ -4687,7 +4687,7 @@ PUBLIC_HEADERS_CXX += \
|
|||
include/grpc/support/sync_generic.h \
|
||||
include/grpc/support/sync_posix.h \
|
||||
include/grpc/support/sync_windows.h \
|
||||
include/grpc/support/thd.h \
|
||||
include/grpc/support/thd_id.h \
|
||||
include/grpc/support/time.h \
|
||||
include/grpc/impl/codegen/atm.h \
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h \
|
||||
|
@ -5164,7 +5164,7 @@ PUBLIC_HEADERS_CXX += \
|
|||
include/grpc/support/sync_generic.h \
|
||||
include/grpc/support/sync_posix.h \
|
||||
include/grpc/support/sync_windows.h \
|
||||
include/grpc/support/thd.h \
|
||||
include/grpc/support/thd_id.h \
|
||||
include/grpc/support/time.h \
|
||||
include/grpc/impl/codegen/atm.h \
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h \
|
||||
|
@ -5874,7 +5874,7 @@ PUBLIC_HEADERS_CXX += \
|
|||
include/grpc/support/sync_generic.h \
|
||||
include/grpc/support/sync_posix.h \
|
||||
include/grpc/support/sync_windows.h \
|
||||
include/grpc/support/thd.h \
|
||||
include/grpc/support/thd_id.h \
|
||||
include/grpc/support/time.h \
|
||||
include/grpc/impl/codegen/atm.h \
|
||||
include/grpc/impl/codegen/atm_gcc_atomic.h \
|
||||
|
|
|
@ -92,7 +92,7 @@ filegroups:
|
|||
- include/grpc/support/sync_generic.h
|
||||
- include/grpc/support/sync_posix.h
|
||||
- include/grpc/support/sync_windows.h
|
||||
- include/grpc/support/thd.h
|
||||
- include/grpc/support/thd_id.h
|
||||
- include/grpc/support/time.h
|
||||
headers:
|
||||
- src/core/lib/gpr/arena.h
|
||||
|
@ -104,7 +104,7 @@ filegroups:
|
|||
- src/core/lib/gpr/spinlock.h
|
||||
- src/core/lib/gpr/string.h
|
||||
- src/core/lib/gpr/string_windows.h
|
||||
- src/core/lib/gpr/thd_internal.h
|
||||
- src/core/lib/gpr/thd.h
|
||||
- src/core/lib/gpr/time_precise.h
|
||||
- src/core/lib/gpr/tls.h
|
||||
- src/core/lib/gpr/tls_gcc.h
|
||||
|
|
|
@ -212,7 +212,7 @@ Pod::Spec.new do |s|
|
|||
'src/core/lib/gpr/spinlock.h',
|
||||
'src/core/lib/gpr/string.h',
|
||||
'src/core/lib/gpr/string_windows.h',
|
||||
'src/core/lib/gpr/thd_internal.h',
|
||||
'src/core/lib/gpr/thd.h',
|
||||
'src/core/lib/gpr/time_precise.h',
|
||||
'src/core/lib/gpr/tls.h',
|
||||
'src/core/lib/gpr/tls_gcc.h',
|
||||
|
@ -464,7 +464,7 @@ Pod::Spec.new do |s|
|
|||
'src/core/lib/gpr/spinlock.h',
|
||||
'src/core/lib/gpr/string.h',
|
||||
'src/core/lib/gpr/string_windows.h',
|
||||
'src/core/lib/gpr/thd_internal.h',
|
||||
'src/core/lib/gpr/thd.h',
|
||||
'src/core/lib/gpr/time_precise.h',
|
||||
'src/core/lib/gpr/tls.h',
|
||||
'src/core/lib/gpr/tls_gcc.h',
|
||||
|
@ -654,7 +654,7 @@ Pod::Spec.new do |s|
|
|||
'src/core/lib/gpr/spinlock.h',
|
||||
'src/core/lib/gpr/string.h',
|
||||
'src/core/lib/gpr/string_windows.h',
|
||||
'src/core/lib/gpr/thd_internal.h',
|
||||
'src/core/lib/gpr/thd.h',
|
||||
'src/core/lib/gpr/time_precise.h',
|
||||
'src/core/lib/gpr/tls.h',
|
||||
'src/core/lib/gpr/tls_gcc.h',
|
||||
|
|
|
@ -124,7 +124,7 @@ Pod::Spec.new do |s|
|
|||
'include/grpc/support/sync_generic.h',
|
||||
'include/grpc/support/sync_posix.h',
|
||||
'include/grpc/support/sync_windows.h',
|
||||
'include/grpc/support/thd.h',
|
||||
'include/grpc/support/thd_id.h',
|
||||
'include/grpc/support/time.h',
|
||||
'include/grpc/impl/codegen/atm.h',
|
||||
'include/grpc/impl/codegen/atm_gcc_atomic.h',
|
||||
|
@ -192,7 +192,7 @@ Pod::Spec.new do |s|
|
|||
'src/core/lib/gpr/spinlock.h',
|
||||
'src/core/lib/gpr/string.h',
|
||||
'src/core/lib/gpr/string_windows.h',
|
||||
'src/core/lib/gpr/thd_internal.h',
|
||||
'src/core/lib/gpr/thd.h',
|
||||
'src/core/lib/gpr/time_precise.h',
|
||||
'src/core/lib/gpr/tls.h',
|
||||
'src/core/lib/gpr/tls_gcc.h',
|
||||
|
@ -721,7 +721,7 @@ Pod::Spec.new do |s|
|
|||
'src/core/lib/gpr/spinlock.h',
|
||||
'src/core/lib/gpr/string.h',
|
||||
'src/core/lib/gpr/string_windows.h',
|
||||
'src/core/lib/gpr/thd_internal.h',
|
||||
'src/core/lib/gpr/thd.h',
|
||||
'src/core/lib/gpr/time_precise.h',
|
||||
'src/core/lib/gpr/tls.h',
|
||||
'src/core/lib/gpr/tls_gcc.h',
|
||||
|
|
7
grpc.def
7
grpc.def
|
@ -211,14 +211,7 @@ EXPORTS
|
|||
gpr_stats_init
|
||||
gpr_stats_inc
|
||||
gpr_stats_read
|
||||
gpr_thd_new
|
||||
gpr_thd_options_default
|
||||
gpr_thd_options_set_detached
|
||||
gpr_thd_options_set_joinable
|
||||
gpr_thd_options_is_detached
|
||||
gpr_thd_options_is_joinable
|
||||
gpr_thd_currentid
|
||||
gpr_thd_join
|
||||
gpr_time_0
|
||||
gpr_inf_future
|
||||
gpr_inf_past
|
||||
|
|
|
@ -59,7 +59,7 @@ Gem::Specification.new do |s|
|
|||
s.files += %w( include/grpc/support/sync_generic.h )
|
||||
s.files += %w( include/grpc/support/sync_posix.h )
|
||||
s.files += %w( include/grpc/support/sync_windows.h )
|
||||
s.files += %w( include/grpc/support/thd.h )
|
||||
s.files += %w( include/grpc/support/thd_id.h )
|
||||
s.files += %w( include/grpc/support/time.h )
|
||||
s.files += %w( include/grpc/impl/codegen/atm.h )
|
||||
s.files += %w( include/grpc/impl/codegen/atm_gcc_atomic.h )
|
||||
|
@ -83,7 +83,7 @@ Gem::Specification.new do |s|
|
|||
s.files += %w( src/core/lib/gpr/spinlock.h )
|
||||
s.files += %w( src/core/lib/gpr/string.h )
|
||||
s.files += %w( src/core/lib/gpr/string_windows.h )
|
||||
s.files += %w( src/core/lib/gpr/thd_internal.h )
|
||||
s.files += %w( src/core/lib/gpr/thd.h )
|
||||
s.files += %w( src/core/lib/gpr/time_precise.h )
|
||||
s.files += %w( src/core/lib/gpr/tls.h )
|
||||
s.files += %w( src/core/lib/gpr/tls_gcc.h )
|
||||
|
|
|
@ -11,7 +11,7 @@ framework module grpc {
|
|||
header "support/string_util.h"
|
||||
header "support/sync.h"
|
||||
header "support/sync_generic.h"
|
||||
header "support/thd.h"
|
||||
header "support/thd_id.h"
|
||||
header "support/time.h"
|
||||
header "impl/codegen/atm.h"
|
||||
header "impl/codegen/fork.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*
|
||||
* Copyright 2015 gRPC authors.
|
||||
* Copyright 2018 gRPC authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,15 +16,27 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef GRPC_CORE_LIB_GPR_THD_INTERNAL_H
|
||||
#define GRPC_CORE_LIB_GPR_THD_INTERNAL_H
|
||||
#ifndef GRPC_SUPPORT_THD_ID_H
|
||||
#define GRPC_SUPPORT_THD_ID_H
|
||||
/** Thread interface for GPR.
|
||||
|
||||
#include <grpc/support/time.h>
|
||||
Types
|
||||
gpr_thd_id a unique opaque identifier for a thread.
|
||||
*/
|
||||
|
||||
/* Internal interfaces between modules within the gpr support library. */
|
||||
void gpr_thd_init();
|
||||
#include <grpc/support/port_platform.h>
|
||||
|
||||
/* Wait for all outstanding threads to finish, up to deadline */
|
||||
int gpr_await_threads(gpr_timespec deadline);
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#endif /* GRPC_CORE_LIB_GPR_THD_INTERNAL_H */
|
||||
typedef uintptr_t gpr_thd_id;
|
||||
|
||||
/** Returns the identifier of the current thread. */
|
||||
GPRAPI gpr_thd_id gpr_thd_currentid(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GRPC_SUPPORT_THD_ID_H */
|
|
@ -66,7 +66,7 @@
|
|||
<file baseinstalldir="/" name="include/grpc/support/sync_generic.h" role="src" />
|
||||
<file baseinstalldir="/" name="include/grpc/support/sync_posix.h" role="src" />
|
||||
<file baseinstalldir="/" name="include/grpc/support/sync_windows.h" role="src" />
|
||||
<file baseinstalldir="/" name="include/grpc/support/thd.h" role="src" />
|
||||
<file baseinstalldir="/" name="include/grpc/support/thd_id.h" role="src" />
|
||||
<file baseinstalldir="/" name="include/grpc/support/time.h" role="src" />
|
||||
<file baseinstalldir="/" name="include/grpc/impl/codegen/atm.h" role="src" />
|
||||
<file baseinstalldir="/" name="include/grpc/impl/codegen/atm_gcc_atomic.h" role="src" />
|
||||
|
@ -90,7 +90,7 @@
|
|||
<file baseinstalldir="/" name="src/core/lib/gpr/spinlock.h" role="src" />
|
||||
<file baseinstalldir="/" name="src/core/lib/gpr/string.h" role="src" />
|
||||
<file baseinstalldir="/" name="src/core/lib/gpr/string_windows.h" role="src" />
|
||||
<file baseinstalldir="/" name="src/core/lib/gpr/thd_internal.h" role="src" />
|
||||
<file baseinstalldir="/" name="src/core/lib/gpr/thd.h" role="src" />
|
||||
<file baseinstalldir="/" name="src/core/lib/gpr/time_precise.h" role="src" />
|
||||
<file baseinstalldir="/" name="src/core/lib/gpr/tls.h" role="src" />
|
||||
<file baseinstalldir="/" name="src/core/lib/gpr/tls_gcc.h" role="src" />
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/* Posix implementation for gpr threads. */
|
||||
/* Platform-independent features for gpr threads. */
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
enum { GPR_THD_JOINABLE = 1 };
|
||||
|
||||
gpr_thd_options gpr_thd_options_default(void) {
|
||||
|
|
|
@ -16,24 +16,17 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef GRPC_SUPPORT_THD_H
|
||||
#define GRPC_SUPPORT_THD_H
|
||||
/** Thread interface for GPR.
|
||||
#ifndef GRPC_CORE_LIB_GPR_THD_H
|
||||
#define GRPC_CORE_LIB_GPR_THD_H
|
||||
/** Internal thread interface for GPR.
|
||||
|
||||
Types
|
||||
gpr_thd_id a thread identifier.
|
||||
(Currently no calls take a thread identifier.
|
||||
It exists for future extensibility.)
|
||||
gpr_thd_options options used when creating a thread
|
||||
*/
|
||||
|
||||
#include <grpc/support/port_platform.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef uintptr_t gpr_thd_id;
|
||||
#include <grpc/support/thd_id.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
/** Thread creation options. */
|
||||
typedef struct {
|
||||
|
@ -46,34 +39,33 @@ typedef struct {
|
|||
that support thread naming.
|
||||
If options==NULL, default options are used.
|
||||
The thread is immediately runnable, and exits when (*thd_body)() returns. */
|
||||
GPRAPI int gpr_thd_new(gpr_thd_id* t, const char* thd_name,
|
||||
void (*thd_body)(void* arg), void* arg,
|
||||
const gpr_thd_options* options);
|
||||
int gpr_thd_new(gpr_thd_id* t, const char* thd_name,
|
||||
void (*thd_body)(void* arg), void* arg,
|
||||
const gpr_thd_options* options);
|
||||
|
||||
/** Return a gpr_thd_options struct with all fields set to defaults. */
|
||||
GPRAPI gpr_thd_options gpr_thd_options_default(void);
|
||||
gpr_thd_options gpr_thd_options_default(void);
|
||||
|
||||
/** Set the thread to become detached on startup - this is the default. */
|
||||
GPRAPI void gpr_thd_options_set_detached(gpr_thd_options* options);
|
||||
void gpr_thd_options_set_detached(gpr_thd_options* options);
|
||||
|
||||
/** Set the thread to become joinable - mutually exclusive with detached. */
|
||||
GPRAPI void gpr_thd_options_set_joinable(gpr_thd_options* options);
|
||||
void gpr_thd_options_set_joinable(gpr_thd_options* options);
|
||||
|
||||
/** Returns non-zero if the option detached is set. */
|
||||
GPRAPI int gpr_thd_options_is_detached(const gpr_thd_options* options);
|
||||
int gpr_thd_options_is_detached(const gpr_thd_options* options);
|
||||
|
||||
/** Returns non-zero if the option joinable is set. */
|
||||
GPRAPI int gpr_thd_options_is_joinable(const gpr_thd_options* options);
|
||||
|
||||
/** Returns the identifier of the current thread. */
|
||||
GPRAPI gpr_thd_id gpr_thd_currentid(void);
|
||||
int gpr_thd_options_is_joinable(const gpr_thd_options* options);
|
||||
|
||||
/** Blocks until the specified thread properly terminates.
|
||||
Calling this on a detached thread has unpredictable results. */
|
||||
GPRAPI void gpr_thd_join(gpr_thd_id t);
|
||||
void gpr_thd_join(gpr_thd_id t);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
/* Internal interfaces between modules within the gpr support library. */
|
||||
void gpr_thd_init();
|
||||
|
||||
#endif /* GRPC_SUPPORT_THD_H */
|
||||
/* Wait for all outstanding threads to finish, up to deadline */
|
||||
int gpr_await_threads(gpr_timespec deadline);
|
||||
|
||||
#endif /* GRPC_CORE_LIB_GPR_THD_H */
|
|
@ -22,10 +22,12 @@
|
|||
|
||||
#ifdef GPR_POSIX_SYNC
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/thd_id.h>
|
||||
#include <pthread.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -22,9 +22,11 @@
|
|||
|
||||
#ifdef GPR_WINDOWS
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/thd_id.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
|
|
@ -33,10 +33,10 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/debug/stats.h"
|
||||
#include "src/core/lib/gpr/murmur_hash.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/tls.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "src/core/lib/iomgr/block_annotate.h"
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/combiner.h"
|
||||
#include "src/core/lib/profiling/timers.h"
|
||||
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
#include <grpc/support/cpu.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/debug/stats.h"
|
||||
#include "src/core/lib/gpr/spinlock.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/tls.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "src/core/lib/iomgr/exec_ctx.h"
|
||||
|
|
|
@ -24,11 +24,10 @@
|
|||
|
||||
#include <grpc/fork.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/fork.h"
|
||||
#include "src/core/lib/gpr/thd_internal.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/ev_posix.h"
|
||||
#include "src/core/lib/iomgr/executor.h"
|
||||
#include "src/core/lib/iomgr/timer_manager.h"
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/log_windows.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/debug/stats.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/iocp_windows.h"
|
||||
#include "src/core/lib/iomgr/iomgr_internal.h"
|
||||
#include "src/core/lib/iomgr/socket_windows.h"
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "src/core/lib/iomgr/exec_ctx.h"
|
||||
#include "src/core/lib/iomgr/executor.h"
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
#ifdef GRPC_UV
|
||||
|
||||
#include <grpc/support/thd_id.h>
|
||||
|
||||
#include "src/core/lib/debug/trace.h"
|
||||
#include "src/core/lib/iomgr/executor.h"
|
||||
#include "src/core/lib/iomgr/iomgr_uv.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "src/core/lib/iomgr/iomgr_internal.h"
|
||||
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/thd_id.h>
|
||||
|
||||
/* The thread ID of the thread on which grpc was initialized. Used to verify
|
||||
* that all calls into libuv are made on that same thread */
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#ifdef GRPC_WINSOCK_SOCKET
|
||||
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/iocp_windows.h"
|
||||
#include "src/core/lib/iomgr/iomgr_internal.h"
|
||||
#include "src/core/lib/iomgr/pollset.h"
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "src/core/lib/iomgr/block_annotate.h"
|
||||
#include "src/core/lib/iomgr/executor.h"
|
||||
|
|
|
@ -31,11 +31,11 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/log_windows.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/block_annotate.h"
|
||||
#include "src/core/lib/iomgr/executor.h"
|
||||
#include "src/core/lib/iomgr/iomgr_internal.h"
|
||||
|
|
|
@ -21,11 +21,11 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/port_platform.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "src/core/lib/debug/trace.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/timer.h"
|
||||
|
||||
typedef struct completed_thread {
|
||||
|
|
|
@ -28,9 +28,9 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
|
||||
#define MAX_TABLE_RESIZE 256
|
||||
|
|
|
@ -25,12 +25,12 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
|
||||
typedef enum { BEGIN = '{', END = '}', MARK = '.' } marker_type;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "src/core/lib/debug/stats.h"
|
||||
#include "src/core/lib/debug/trace.h"
|
||||
#include "src/core/lib/gpr/fork.h"
|
||||
#include "src/core/lib/gpr/thd_internal.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/http/parser.h"
|
||||
#include "src/core/lib/iomgr/call_combiner.h"
|
||||
#include "src/core/lib/iomgr/combiner.h"
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
|
||||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
|
||||
typedef struct alts_shared_resource {
|
||||
gpr_thd_id thread_id;
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/thd_id.h>
|
||||
|
||||
extern "C" {
|
||||
#include <openssl/bio.h>
|
||||
|
|
|
@ -39,10 +39,11 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/profiling/timers.h"
|
||||
|
||||
namespace grpc {
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
|
||||
#include <grpc/byte_buffer_reader.h>
|
||||
#include <grpc/grpc.h>
|
||||
#include <grpc/grpc_security.h>
|
||||
|
@ -26,7 +24,7 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/port_platform.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/thd_id.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -234,14 +234,7 @@ gpr_ref_is_unique_type gpr_ref_is_unique_import;
|
|||
gpr_stats_init_type gpr_stats_init_import;
|
||||
gpr_stats_inc_type gpr_stats_inc_import;
|
||||
gpr_stats_read_type gpr_stats_read_import;
|
||||
gpr_thd_new_type gpr_thd_new_import;
|
||||
gpr_thd_options_default_type gpr_thd_options_default_import;
|
||||
gpr_thd_options_set_detached_type gpr_thd_options_set_detached_import;
|
||||
gpr_thd_options_set_joinable_type gpr_thd_options_set_joinable_import;
|
||||
gpr_thd_options_is_detached_type gpr_thd_options_is_detached_import;
|
||||
gpr_thd_options_is_joinable_type gpr_thd_options_is_joinable_import;
|
||||
gpr_thd_currentid_type gpr_thd_currentid_import;
|
||||
gpr_thd_join_type gpr_thd_join_import;
|
||||
gpr_time_0_type gpr_time_0_import;
|
||||
gpr_inf_future_type gpr_inf_future_import;
|
||||
gpr_inf_past_type gpr_inf_past_import;
|
||||
|
@ -477,14 +470,7 @@ void grpc_rb_load_imports(HMODULE library) {
|
|||
gpr_stats_init_import = (gpr_stats_init_type) GetProcAddress(library, "gpr_stats_init");
|
||||
gpr_stats_inc_import = (gpr_stats_inc_type) GetProcAddress(library, "gpr_stats_inc");
|
||||
gpr_stats_read_import = (gpr_stats_read_type) GetProcAddress(library, "gpr_stats_read");
|
||||
gpr_thd_new_import = (gpr_thd_new_type) GetProcAddress(library, "gpr_thd_new");
|
||||
gpr_thd_options_default_import = (gpr_thd_options_default_type) GetProcAddress(library, "gpr_thd_options_default");
|
||||
gpr_thd_options_set_detached_import = (gpr_thd_options_set_detached_type) GetProcAddress(library, "gpr_thd_options_set_detached");
|
||||
gpr_thd_options_set_joinable_import = (gpr_thd_options_set_joinable_type) GetProcAddress(library, "gpr_thd_options_set_joinable");
|
||||
gpr_thd_options_is_detached_import = (gpr_thd_options_is_detached_type) GetProcAddress(library, "gpr_thd_options_is_detached");
|
||||
gpr_thd_options_is_joinable_import = (gpr_thd_options_is_joinable_type) GetProcAddress(library, "gpr_thd_options_is_joinable");
|
||||
gpr_thd_currentid_import = (gpr_thd_currentid_type) GetProcAddress(library, "gpr_thd_currentid");
|
||||
gpr_thd_join_import = (gpr_thd_join_type) GetProcAddress(library, "gpr_thd_join");
|
||||
gpr_time_0_import = (gpr_time_0_type) GetProcAddress(library, "gpr_time_0");
|
||||
gpr_inf_future_import = (gpr_inf_future_type) GetProcAddress(library, "gpr_inf_future");
|
||||
gpr_inf_past_import = (gpr_inf_past_type) GetProcAddress(library, "gpr_inf_past");
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include <grpc/support/log_windows.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/thd_id.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
typedef int(*grpc_compression_algorithm_is_message_type)(grpc_compression_algorithm algorithm);
|
||||
|
@ -677,30 +677,9 @@ extern gpr_stats_inc_type gpr_stats_inc_import;
|
|||
typedef intptr_t(*gpr_stats_read_type)(const gpr_stats_counter* c);
|
||||
extern gpr_stats_read_type gpr_stats_read_import;
|
||||
#define gpr_stats_read gpr_stats_read_import
|
||||
typedef int(*gpr_thd_new_type)(gpr_thd_id* t, const char* thd_name, void (*thd_body)(void* arg), void* arg, const gpr_thd_options* options);
|
||||
extern gpr_thd_new_type gpr_thd_new_import;
|
||||
#define gpr_thd_new gpr_thd_new_import
|
||||
typedef gpr_thd_options(*gpr_thd_options_default_type)(void);
|
||||
extern gpr_thd_options_default_type gpr_thd_options_default_import;
|
||||
#define gpr_thd_options_default gpr_thd_options_default_import
|
||||
typedef void(*gpr_thd_options_set_detached_type)(gpr_thd_options* options);
|
||||
extern gpr_thd_options_set_detached_type gpr_thd_options_set_detached_import;
|
||||
#define gpr_thd_options_set_detached gpr_thd_options_set_detached_import
|
||||
typedef void(*gpr_thd_options_set_joinable_type)(gpr_thd_options* options);
|
||||
extern gpr_thd_options_set_joinable_type gpr_thd_options_set_joinable_import;
|
||||
#define gpr_thd_options_set_joinable gpr_thd_options_set_joinable_import
|
||||
typedef int(*gpr_thd_options_is_detached_type)(const gpr_thd_options* options);
|
||||
extern gpr_thd_options_is_detached_type gpr_thd_options_is_detached_import;
|
||||
#define gpr_thd_options_is_detached gpr_thd_options_is_detached_import
|
||||
typedef int(*gpr_thd_options_is_joinable_type)(const gpr_thd_options* options);
|
||||
extern gpr_thd_options_is_joinable_type gpr_thd_options_is_joinable_import;
|
||||
#define gpr_thd_options_is_joinable gpr_thd_options_is_joinable_import
|
||||
typedef gpr_thd_id(*gpr_thd_currentid_type)(void);
|
||||
extern gpr_thd_currentid_type gpr_thd_currentid_import;
|
||||
#define gpr_thd_currentid gpr_thd_currentid_import
|
||||
typedef void(*gpr_thd_join_type)(gpr_thd_id t);
|
||||
extern gpr_thd_join_type gpr_thd_join_import;
|
||||
#define gpr_thd_join gpr_thd_join_import
|
||||
typedef gpr_timespec(*gpr_time_0_type)(gpr_clock_type type);
|
||||
extern gpr_time_0_type gpr_time_0_import;
|
||||
#define gpr_time_0 gpr_time_0_import
|
||||
|
|
|
@ -23,13 +23,13 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
|
||||
#include "src/core/lib/channel/channel_stack.h"
|
||||
#include "src/core/lib/gpr/murmur_hash.h"
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/endpoint_pair.h"
|
||||
#include "src/core/lib/slice/slice_internal.h"
|
||||
#include "src/core/lib/surface/completion_queue.h"
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
#include <grpc/slice.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/sockaddr.h"
|
||||
#include "src/core/lib/slice/slice_internal.h"
|
||||
#include "src/core/lib/slice/slice_string_helpers.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
|
@ -31,6 +30,7 @@
|
|||
#include "src/core/lib/channel/channel_args.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
|
@ -31,6 +30,7 @@
|
|||
#include "src/core/lib/channel/channel_args.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -28,13 +28,13 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/wakeup_fd_posix.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
|
@ -36,6 +35,7 @@
|
|||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include <grpc/support/workaround_list.h>
|
||||
|
||||
|
@ -32,6 +31,7 @@
|
|||
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -23,13 +23,13 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
|
@ -32,6 +31,7 @@
|
|||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/end2end/fixtures/http_proxy_fixture.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
|
@ -32,6 +31,7 @@
|
|||
#include "src/core/lib/channel/channel_args.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -23,13 +23,13 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/end2end/fixtures/proxy.h"
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/client/http_client_filter.h"
|
||||
|
@ -37,6 +36,7 @@
|
|||
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/endpoint_pair.h"
|
||||
#include "src/core/lib/iomgr/iomgr.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/client/http_client_filter.h"
|
||||
|
@ -31,6 +30,7 @@
|
|||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/endpoint_pair.h"
|
||||
#include "src/core/lib/iomgr/iomgr.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/client/http_client_filter.h"
|
||||
|
@ -31,6 +30,7 @@
|
|||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/endpoint_pair.h"
|
||||
#include "src/core/lib/iomgr/iomgr.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
|
@ -34,6 +33,7 @@
|
|||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/channel/channel_args.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/http/parser.h"
|
||||
#include "src/core/lib/iomgr/closure.h"
|
||||
#include "src/core/lib/iomgr/combiner.h"
|
||||
|
|
|
@ -23,13 +23,13 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/client_channel.h"
|
||||
#include "src/core/ext/filters/http/server/http_server_filter.h"
|
||||
#include "src/core/ext/transport/inproc/inproc_transport.h"
|
||||
#include "src/core/lib/channel/connected_channel.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/channel.h"
|
||||
#include "src/core/lib/surface/server.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "test/core/end2end/cq_verifier.h"
|
||||
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "test/core/end2end/cq_verifier.h"
|
||||
|
||||
static void* tag(intptr_t t) { return (void*)t; }
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "test/core/end2end/cq_verifier.h"
|
||||
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
|
|
|
@ -25,10 +25,11 @@
|
|||
#include <grpc/support/cpu.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
/* Test structure is essentially:
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
|
|
|
@ -22,10 +22,11 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
/* ------------------------------------------------- */
|
||||
|
|
|
@ -21,10 +21,11 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
/* ==================Example use of interface===================
|
||||
|
|
|
@ -18,12 +18,14 @@
|
|||
|
||||
/* Test of gpr thread support. */
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
#define NUM_THREADS 300
|
||||
|
|
|
@ -20,12 +20,13 @@
|
|||
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
static void to_fp(void* arg, const char* buf, size_t len) {
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/tls.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
|
|
|
@ -22,10 +22,11 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstring>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gprpp/abstract.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
|
|
|
@ -34,7 +34,8 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/load_file.h"
|
||||
#include "test/core/util/port.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/load_file.h"
|
||||
#include "test/core/util/port.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/load_file.h"
|
||||
#include "test/core/util/port.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
|
|
@ -31,7 +31,8 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/load_file.h"
|
||||
#include "test/core/util/port.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/load_file.h"
|
||||
#include "test/core/util/port.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
static void test_set_get_int() {
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "src/core/lib/iomgr/iomgr.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "src/core/lib/iomgr/executor.h"
|
||||
#include "src/core/lib/iomgr/iomgr.h"
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
#include <pthread.h>
|
||||
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/ev_posix.h"
|
||||
#include "src/core/lib/iomgr/iomgr_posix.h"
|
||||
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "src/core/lib/iomgr/error.h"
|
||||
#include "src/core/lib/iomgr/socket_utils_posix.h"
|
||||
|
|
|
@ -22,11 +22,12 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/port_platform.h>
|
||||
#include <grpc/support/string.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/ext/census/census_interface.h"
|
||||
#include "src/core/ext/census/census_rpc_stats.h"
|
||||
#include "src/core/ext/census/census_tracing.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
/* Ensure all possible state transitions are called without causing problem */
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/compression/message_compress.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/exec_ctx.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/useful.h"
|
||||
#include "src/core/lib/iomgr/iomgr.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/exec_ctx.h"
|
||||
#include "src/core/lib/iomgr/iomgr.h"
|
||||
#include "src/core/lib/iomgr/resolve_address.h"
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
#include <grpc/grpc_security.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/channel/channel_args.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/exec_ctx.h"
|
||||
#include "test/core/end2end/data/ssl_test_data.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/sync_custom.h>
|
||||
#include <grpc/support/sync_generic.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/thd_id.h>
|
||||
#include <grpc/support/time.h>
|
||||
#include <grpc/support/workaround_list.h>
|
||||
|
||||
|
@ -268,14 +268,7 @@ int main(int argc, char **argv) {
|
|||
printf("%lx", (unsigned long) gpr_stats_init);
|
||||
printf("%lx", (unsigned long) gpr_stats_inc);
|
||||
printf("%lx", (unsigned long) gpr_stats_read);
|
||||
printf("%lx", (unsigned long) gpr_thd_new);
|
||||
printf("%lx", (unsigned long) gpr_thd_options_default);
|
||||
printf("%lx", (unsigned long) gpr_thd_options_set_detached);
|
||||
printf("%lx", (unsigned long) gpr_thd_options_set_joinable);
|
||||
printf("%lx", (unsigned long) gpr_thd_options_is_detached);
|
||||
printf("%lx", (unsigned long) gpr_thd_options_is_joinable);
|
||||
printf("%lx", (unsigned long) gpr_thd_currentid);
|
||||
printf("%lx", (unsigned long) gpr_thd_join);
|
||||
printf("%lx", (unsigned long) gpr_time_0);
|
||||
printf("%lx", (unsigned long) gpr_inf_future);
|
||||
printf("%lx", (unsigned long) gpr_inf_past);
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
#include <grpc/grpc_security.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/channel/channel_args.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/iomgr/exec_ctx.h"
|
||||
#include "test/core/end2end/data/ssl_test_data.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/security/transport/tsi_error.h"
|
||||
#include "test/core/tsi/transport_security_test_lib.h"
|
||||
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gprpp/ref_counted_ptr.h"
|
||||
#include "src/core/lib/iomgr/sockaddr.h"
|
||||
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
#include <grpc++/server_context.h>
|
||||
#include <grpc++/support/slice.h>
|
||||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "test/core/util/port.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
||||
|
|
|
@ -30,10 +30,10 @@
|
|||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/tls.h"
|
||||
#include "src/core/lib/iomgr/port.h"
|
||||
#include "src/proto/grpc/health/v1/health.grpc.pb.h"
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
#include <grpc++/server_context.h>
|
||||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h"
|
||||
#include "src/proto/grpc/testing/echo.grpc.pb.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
#include <grpc/support/atm.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"
|
||||
#include "src/core/ext/filters/client_channel/subchannel_index.h"
|
||||
#include "src/core/lib/backoff/backoff.h"
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gprpp/debug_location.h"
|
||||
#include "src/core/lib/gprpp/ref_counted_ptr.h"
|
||||
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/security/credentials/credentials.h"
|
||||
#include "src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h"
|
||||
#include "src/proto/grpc/testing/echo.grpc.pb.h"
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include <grpc++/support/config.h>
|
||||
#include <grpc++/support/slice.h>
|
||||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/cpp/common/channel_filter.h"
|
||||
#include "src/proto/grpc/testing/echo.grpc.pb.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -29,9 +29,9 @@
|
|||
#include <grpc++/server_context.h>
|
||||
#include <grpc++/support/slice.h>
|
||||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/proto/grpc/testing/echo.grpc.pb.h"
|
||||
#include "test/core/util/port.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
|
|
@ -30,11 +30,11 @@
|
|||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"
|
||||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gprpp/ref_counted_ptr.h"
|
||||
#include "src/core/lib/iomgr/sockaddr.h"
|
||||
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
#include <grpc++/server_context.h>
|
||||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h"
|
||||
#include "src/proto/grpc/testing/echo.grpc.pb.h"
|
||||
#include "src/proto/grpc/testing/echo_mock.grpc.pb.h"
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
#include <grpc++/server_context.h>
|
||||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h"
|
||||
#include "src/proto/grpc/testing/echo.grpc.pb.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/alloc.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/proto/grpc/testing/echo.grpc.pb.h"
|
||||
#include "test/core/util/port.h"
|
||||
#include "test/core/util/test_config.h"
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/atm.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h"
|
||||
#include "src/proto/grpc/testing/echo.grpc.pb.h"
|
||||
#include "test/core/util/port.h"
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
#include <grpc++/server_builder.h>
|
||||
#include <grpc++/server_context.h>
|
||||
#include <grpc/grpc.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/surface/api_trace.h"
|
||||
#include "src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h"
|
||||
#include "src/proto/grpc/testing/echo.grpc.pb.h"
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include <grpc/support/log.h>
|
||||
#include <grpc/support/string_util.h>
|
||||
#include <grpc/support/sync.h>
|
||||
#include <grpc/support/thd.h>
|
||||
#include <grpc/support/time.h>
|
||||
|
||||
#include <grpc++/impl/codegen/config.h>
|
||||
|
@ -42,6 +41,7 @@
|
|||
#include "src/core/lib/gpr/env.h"
|
||||
#include "src/core/lib/gpr/host_port.h"
|
||||
#include "src/core/lib/gpr/string.h"
|
||||
#include "src/core/lib/gpr/thd.h"
|
||||
#include "src/core/lib/gpr/tmpfile.h"
|
||||
#include "src/core/lib/gprpp/ref_counted_ptr.h"
|
||||
#include "src/core/lib/iomgr/sockaddr.h"
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче