Vijay Pai
d469403b6e
Remove unused-parameter warnings, round 2 (16 of 19)
5 years ago
Vijay Pai
53e7e9f3fe
Remove unused parameter warning (9 of 20)
5 years ago
Vijay Pai
826732a8be
Remove unused parameter warning (8 of 20)
5 years ago
Jan Tattermusch
6ebc1c616f
set uses_polling=False for some bazel tests
5 years ago
Mark D. Roth
51d18ecc63
Convert mpscq API from C to C++.
5 years ago
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4
.
5 years ago
Soheil Hassas Yeganeh
80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port."
6 years ago
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
6 years ago
weiyongji
bd0d6fc7b6
cancel the modification in mpscq_test.cc
6 years ago
weiyongji
a2f7ce699b
call destroy function in test_serial()
6 years ago
Esun Kim
90fbdc92f5
Roll-forward "Config migration"
...
This reverts commit 236ae12bb1
.
6 years ago
Alexander Polcyn
236ae12bb1
Revert "Config migration"
...
This reverts commit 87905ae5ea
.
6 years ago
Esun Kim
87905ae5ea
Config migration
6 years ago
Alexander Polcyn
d5fb6da369
Revert "Use aligned_alloc directly for grpc_core::Arena"
...
This reverts commit 333ba8feae
.
6 years ago
Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
6 years ago
Arjun Roy
333ba8feae
Use aligned_alloc directly for grpc_core::Arena
6 years ago
Arjun Roy
8ce42f67b2
Shrink arena size by 40 bytes and add additional
...
alignment options (for cache-alignment).
We shrink by:
1) Removing an unnecessary zone pointer.
2) Replacing gpr_mu (40 bytes when using pthread_mutex_t) with
std::atomic_flag.
We also header-inline the fastpath alloc (ie. when not doing a zone
alloc) and move the malloc() for a zone alloc outside of the mutex
critical zone, which allows us to replace the mutex with a spinlock.
We also cache-align created arenas.
6 years ago
xtao
7766912dda
fix more detected mu/cv leaks
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Bill Feng
9759a1b241
removed accidental submodule update
6 years ago
Adele Zhou
8edd56841e
Step 3 of multipool RBE configuration.
6 years ago
Noah Eisen
8c17b1cc5f
Scale back concurrency of arena_test
7 years ago
kpayson64
ec445cc2bb
BUILD fixes
7 years ago
kpayson64
701e70da07
c++ify
7 years ago
kpayson64
38ab21ee09
Add exec_ctx check to fork handlers
7 years ago
Muxi Yan
4b37fb0e4c
Stop including inttypes.h in gRPC core public header in Apple platforms
7 years ago
Vijay Pai
2fe87b0905
Move assignment for Thread, make destructor optional, loop cv waits
7 years ago
Vijay Pai
d71b55db98
Reduce thread count to reduce stack frame size
7 years ago
Adele Zhou
1c805ec901
Add more bazel tests
7 years ago
Vijay Pai
c02d997607
Minor bug fixes
7 years ago
Vijay Pai
87e2e6a58a
clang-fmt
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Vijay Pai
58a62755fc
Remove support for detached threads. All threads must be joined.
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
8f4fbb1c55
Move avl to its own directory and rename it to grpc_avl
7 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
7 years ago
Vijay Pai
b6cf123717
Privatize thread-local storage headers
7 years ago
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
7 years ago
Mark D. Roth
62569dd978
Fix arena to return aligned memory.
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago