Alexander Polcyn
db3e898a98
Add a sanity check for inclusion of port_platform.h
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
ncteisen
01a7547a3f
Re 89 the public headers
7 years ago
ncteisen
adbfbd5977
Remove all extern C
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
8 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Alexander Polcyn
d809a15ec4
cpp doc nits
8 years ago
Craig Tiller
423d6fd7ed
Optimize framing a little
...
- rely on the fact that data-to-come holds a reference to
data-being-written, so there's no need to add a ref for every frame
written
- provide an 'inlined' version of grpc_slice_malloc (via a #define) that
gives the compiler more information about small allocations to enable
better optimization
8 years ago
Craig Tiller
7fa7d6817e
Fix core banned functions
8 years ago
Craig Tiller
ab4796ec6d
Make move_first linear
8 years ago
Craig Tiller
28b72428a8
clang-format
9 years ago
Craig Tiller
5b676a6b1a
Fix include guards
9 years ago
Craig Tiller
b37d53ebc0
Bulk update #includes
9 years ago
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
9 years ago
David Garcia Quintas
e8fd66b71d
removed codegen/slice_buffer.h and scrubbed codegen/slice.h
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
David Garcia Quintas
3452ae27c1
copyrights
9 years ago
David Garcia Quintas
2425bbbc55
Further work. Compiles. WIP
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Craig Tiller
5925603101
stream_op cleanup: miscellany
10 years ago
Craig Tiller
eff4419b2a
Fixes
10 years ago
Craig Tiller
649deebf7f
Recycle partially filled buffers on the next read
10 years ago
Craig Tiller
f96dfc3cf8
First round of fixing up implicit 64->32 bit conversions
10 years ago
Craig Tiller
b029859e58
Revert "Revert "Refactor Endpoint API""
10 years ago
Craig Tiller
99d7b661be
Revert "Refactor Endpoint API"
10 years ago
Craig Tiller
592e7f2dd0
Refactor Endpoint API
...
- Allow reads to complete immediately
- Unify read/write signatures
- Simplify memory management to allow future optimization work
10 years ago
Craig Tiller
606d874d16
Progress on splitting reading from transport lock
10 years ago
Craig Tiller
721f362614
Inline initial slice buffer allocation
10 years ago
Chilledheart
ca767c0d9e
Add method grp_slice_buffer_pop to remove the last element for grp_slice_buffer
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Nicolas "Pixel" Noble
213ed91850
Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors.
10 years ago
Craig Tiller
b5dcec5a2e
clang-format codebase
10 years ago
Nicolas Noble
b7ebd3b8c6
Initial import.
10 years ago