ncteisen
40ec89ff67
Support microbenchmarks internally
2018-04-25 17:41:23 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -08:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31:28 -08:00
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
2017-11-14 18:11:22 -08:00
Yash Tibrewal
75122c2357
Address some PR comments
2017-11-14 01:36:28 -08:00
Craig Tiller
be98d24841
clang-format after nullptr changes
2017-11-10 15:26:57 -08:00
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
2017-11-10 14:14:17 -08:00
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
2017-11-09 18:27:37 -08:00
Yash Tibrewal
4e9265c828
Merge with master
2017-11-09 17:46:29 -08:00
Yash Tibrewal
268685bcbd
Merge branch 'master' into testc++ize
2017-10-30 16:28:56 -07:00
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
2017-10-26 14:28:26 -07:00
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
2017-10-25 17:04:35 -07:00
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.
2017-10-18 17:12:19 -07:00
yang-g
7d6b914f98
Change return type to bool
2017-07-28 12:49:40 -07:00
yang-g
0eaf7debd2
Allow adding events to cq after shutdown is called.
2017-07-28 12:49:40 -07:00
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
2017-07-25 00:43:30 -07:00
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
2017-07-10 14:33:53 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Sree Kuchibhotla
08bbdb8801
Fix cq creation code after merge
2017-03-30 13:25:06 -07:00
Sree Kuchibhotla
e04906dc54
Merge branch 'master' into cq_create_api_changes
2017-03-30 13:20:00 -07:00
Sree Kuchibhotla
bea49665d4
Merge pull request #10348 from sreecha/init-free-cq
...
Do not call grpc_init() for per-call-completion-queues created by a C++ sync server
2017-03-30 13:17:32 -07:00
Sree Kuchibhotla
8dbd9677ef
Add a benchmark
2017-03-29 10:58:21 -07:00
Sree Kuchibhotla
f2c32150ef
Update C++ code
2017-03-22 03:01:24 -07:00
Craig Tiller
af11581260
Merge github.com:grpc/grpc into cpp_bazelness
2017-03-09 15:09:34 -08:00
Sree Kuchibhotla
89da88c7b4
Merge branch 'master' into cq_create_api_changes
2017-03-08 14:45:23 -08:00
Sree Kuchibhotla
1dbd981cf8
Prefix grpc_cq_polling_type enums with GRPC_CQ_
2017-03-03 14:27:44 -08:00
Craig Tiller
e4a2419597
Bugfixes
2017-03-03 08:53:52 -08:00
Craig Tiller
5e3215338f
Move helpers to a common place, use them everywhere
2017-03-03 08:50:25 -08:00
Sree Kuchibhotla
982a6f2b1c
C++ code changes in response to grpc_completion_queue_create() API change
2017-03-03 02:19:31 -08:00
Craig Tiller
4d92a49fc0
Merge github.com:grpc/grpc into cpp_bazelness
2017-02-28 08:43:06 -08:00
Craig Tiller
b843ff2ce4
Add more cq benchmarks
2017-02-27 07:34:07 -08:00
Craig Tiller
bf515b6f7f
Merge github.com:grpc/grpc into cpp_bazelness
2017-02-24 16:23:50 -08:00
Craig Tiller
5752570b02
Fix memory leak
2017-02-14 21:58:46 -08:00
Craig Tiller
14ae5381af
Add microbenchmark of single-threaded CQ operations
2017-02-14 12:43:50 -08:00