Craig Tiller
eb40a538cb
Fix remaining allocation bugs
10 years ago
Craig Tiller
bd22271d00
Random small fixes
10 years ago
Craig Tiller
76f5d46d1b
clang-format
10 years ago
Craig Tiller
8b282cbd0b
Got rid of GRPC_SEND_START
10 years ago
Craig Tiller
9c1043e757
Progress towards transport using metadata batches
10 years ago
Craig Tiller
205aee1c82
Move metadata batching to stream_op
10 years ago
Craig Tiller
87d5b19da6
clang-format
10 years ago
Craig Tiller
6902ad2e9c
Switching to batch oriented metadata passing
10 years ago
Craig Tiller
b20111caea
clang-format
10 years ago
Craig Tiller
08453374b2
Introduce ahead-of-time registration of (method,host) pairs
10 years ago
Vijay Pai
7b3aba5e27
Fix some name choices
10 years ago
Vijay Pai
68e4515c8d
Mark activation for read, write, and time spent in system calls
10 years ago
Vijay Pai
0fb96e8b5e
Rename seq to id so that it's clear it can be any generic ID
10 years ago
Vijay Pai
74c0224e67
Change int sequence number to a void* for more generality
10 years ago
Craig Tiller
3de5aafe19
Remove (void*)1
...
This was originally added for my sanity, but it proved unnecessary.
10 years ago
vjpai
c6a3da7d4c
Explicit header path
10 years ago
Craig Tiller
634346b0a5
Merge with other metadata changes
10 years ago
Craig Tiller
a727135d91
Add important comment
10 years ago
Craig Tiller
b285aab5a7
Share mdctx between secure channels
10 years ago
Craig Tiller
c4885ede96
Allow extracting mdctx from creds
10 years ago
Craig Tiller
fe0104a160
Batch unref metadata in HTTP/2 stream encoder
...
Moves us from one metadata lock per metadata element to one metadata
lock per HTTP/2 frame output.
10 years ago
Craig Tiller
721f362614
Inline initial slice buffer allocation
10 years ago
Craig Tiller
ba63e8a2a7
Fix Typo
...
... and this, kids, is why you should always compile in debug before
pushing.
10 years ago
Julien Boeuf
6c71ce5456
Refactoring of server context creation (incremental improvement).
10 years ago
Vijay Pai
0310f13fd9
clang-format results
10 years ago
Vijay Pai
9cccb08311
Stub out precise clock structure from the overall flow of timers.c so that
...
there are no ifdefs in the middle of structures of the main code path
10 years ago
Craig Tiller
954d7a2686
Fix race on shutdown
10 years ago
Vijay Pai
0b9d0da39f
Space
10 years ago
Vijay Pai
2288f5b4b2
Eliminate unneeded asserts
10 years ago
Vijay Pai
bc17113192
Allow a build config called CONFIG=latprof that defines the appropriate
...
variables to set up the GRPC_LATENCY_PROFILER preprocessor macro so that timing
actually takes place.
10 years ago
Craig Tiller
1ae46a2129
Change barriers to protect the innocent
10 years ago
Vijay Pai
6dfa7e6ea3
Move files to a new "profiling" directory to better distinguish from census
...
statistics
10 years ago
Vijay Pai
c914c4a71a
Infrastructure for timer insertion, logging, and testing.
10 years ago
Craig Tiller
9fa41b92e0
Eliminate channel-wide lock for grpc_mdelem_ref.
...
We only need to lock on the initial ref from garbage to atomically change mdtab_free.
10 years ago
Craig Tiller
a181436d1d
Make endpoint_pair_windows compile.
10 years ago
Craig Tiller
1861dca16c
Fix #ifdef
10 years ago
Craig Tiller
532fa365a0
Add endpoint_pair_windows.c (never compiled)
10 years ago
Craig Tiller
818efa6741
Implement gpr_sleep_until for Windows.
10 years ago
Nicolas "Pixel" Noble
c8f95e3592
Fixing msys2 compilation...
10 years ago
Craig Tiller
c02c1d883a
clang-format
10 years ago
Craig Tiller
6d97916b16
Update Windows build for interface changes
10 years ago
Craig Tiller
aec96aa223
Fix server shutdown
...
A previous fix to make close() occur later can cause socket reuse by servers to fail as previous sockets are left asynchronously open.
This change:
- adds a callback to TCP server shutdown to signal that the server is completely shutdown
- wait for that callback before destroying listeners in the server (and before destroying the server)
- handles fallout
10 years ago
Craig Tiller
55b7306c6c
Update Windows build for interface changes
10 years ago
Craig Tiller
a99157f4dd
Fix server shutdown
...
A previous fix to make close() occur later can cause socket reuse by servers to fail as previous sockets are left asynchronously open.
This change:
- adds a callback to TCP server shutdown to signal that the server is completely shutdown
- wait for that callback before destroying listeners in the server (and before destroying the server)
- handles fallout
10 years ago
Nicolas Noble
a397330cc0
Fixing MacOS build breakage introduced in #1191 .
10 years ago
Vijay Pai
cf1a7e03e7
Remove the racy check added in commit i74c14e5ac752edc7e1dc0aaf31abfd1153df1d0a.
...
This is potentially unsafe since checking the deadline involves more than 1 word
read.
10 years ago
Nicolas Noble
91647cc815
Adding joinable threads, and gpr_thd_join.
10 years ago
Vijay Pai
74c14e5ac7
Add in a racy check for min deadline in run_some_expired_alarms before
...
attempting
the trylock. This shaves the number of g_mu and g_checker_mu uses dramatically in perf test workload and all tests still pass.
10 years ago
Vijay Pai
7d3d9ca24c
Eliminate a redundant unlock-lock pair since this code is only invoked from
...
one place
10 years ago
Nicolas "Pixel" Noble
7f13eb2348
Shutting off warnings about control paths.
10 years ago