Alexander Polcyn
4e8a2f5f27
Remove already_closed param from fd_orphan
7 years ago
Muxi Yan
cf23f867f2
clang-format
7 years ago
Muxi Yan
1aedfa8628
Add CFStream tests
7 years ago
Yash Tibrewal
adc733f024
Make linux polling engines capable of tracking errors separately with
...
backward compatibility.
7 years ago
Sree Kuchibhotla
1dd12c084a
Fix some more formatting issues
7 years ago
Dan Zhang
8bd239551a
use renamed function in test for cheking so_reuseport
7 years ago
Dan Zhang
8c2314093b
Allow udp_server to create multiple listeners for each port via SO_REUSEPORT
7 years ago
Sree Kuchibhotla
33643ef34e
Fix type coversion errors
7 years ago
Yash Tibrewal
c0cd82faed
Remove unnecessary includes of exec_ctx.h
7 years ago
kpayson64
539f5068bd
Abstract libuv implementation
...
Structures the libuv implementation to allow for a plugable
BSD style socket implementation to allow for other IO Managers
7 years ago
Yash Tibrewal
337373b91f
More explicit static casts for size_t to socklen_t
7 years ago
Vijay Pai
2fe87b0905
Move assignment for Thread, make destructor optional, loop cv waits
7 years ago
Dan Zhang
1bdc940469
fix format
7 years ago
Dan Zhang
6cc5a09ffd
fix format
7 years ago
Dan Zhang
b293e9e822
Refactors grpc udp_server_listener to be object oriented. Also adds a mutex to each listener. Instead of sharing the mutex in udp_server for all listeners, this per-listener mutex can make most of the call to different listeners in parallel.
7 years ago
Vijay Pai
03e2e13283
Minor fixes
7 years ago
Adele Zhou
1c805ec901
Add more bazel tests
7 years ago
Vijay Pai
c02d997607
Minor bug fixes
7 years ago
Vijay Pai
14300f121c
Fix one Linux-specific test
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
e1bec40dfb
Manually fix build issue
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
cddf6f838a
Add some manual const casts to fix build
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Mehrdad Afshari
fb66900a9a
Eliminate GRPC_LINUX_LEGACY_EPOLL
...
Rename:
GRPC_LINUX_LEGACY_EPOLL to GRPC_LINUX_EPOLL, and
GRPC_LINUX_EPOLL to GRPC_LINUX_EPOLL_CREATE1
7 years ago
Dan Zhang
3742b724c9
change to int type
7 years ago
Dan Zhang
9ee9c924d8
change to pass in value
7 years ago
ncteisen
9be168be0c
Missing s/NULL/nullptr
7 years ago
ncteisen
5219f3f4c1
Missing s/NULL/nullptr
7 years ago
Dan Zhang
0c2fc922a6
fix data race in shutdown_and_destroy_pollset
7 years ago
Dan Zhang
40ebe9af7f
fix typo
7 years ago
Dan Zhang
8fba583796
fix udp_server_test flakiness
7 years ago
Dan Zhang
4d48a3d3e7
format change
7 years ago
Dan Zhang
0d18814106
Add a start_cb to grpc_udp_listener to be called when listener is
...
created.
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Vijay Pai
a3a4f39121
Update ev_epollsig_linux_test.cc
7 years ago
Dave MacLachlan
da341bcb89
Fix up review comments
7 years ago
Dan Zhang
64d588fc8e
fix compile error
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Dave MacLachlan
af5c54de9c
Add thread naming support on platforms that support it.
...
As a client of grpc I want to be aware of which threads are being
created by grpc, and giving them recognizable names makes it significantly
easier to diagnose what is going on in my programs.
This provides thread names for macOS and Linux. Adding support for other
platforms should be easy for platform specialists.
7 years ago
Dan Zhang
0f7bc57e11
Modify udp_server to do asynchronous read and write and only re-arm
...
notification when needed.
This change prevents event loop thread from doing actual I/O work which
might take long time.
7 years ago
Yash Tibrewal
26e934245d
Fix race conditions and more grpc_inits required. csharp tests will be fixed in a different PR
7 years ago
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago