aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/call_combiner.h
Commit message (Collapse)AuthorAge
* Add TSAN anntations for grpc_call_combiner.Gravatar Soheil Hassas Yeganeh2018-12-05
| | | | | | | | Since GRPC_CLOSUSE_SCHEDULE can schedule callback asynchronously we have to schedule our own wrapper instead. Also, we cannot use ACQUIRE and RELEASE directly on the call_combiner, because callbacks are free to even destroy the call_combiner. Thus, we use a ref-counted structure that acts as a fake lock for Tsan annotations.
* Remeve memset(0) from arena allocated memory.Gravatar Soheil Hassas Yeganeh2018-11-05
| | | | | | | Callers are updated to properly initialize the memory. This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY environment variable.
* Explictly Flush exec_ctx after resetting call_combiner_set_notify_on_cancel ↵Gravatar Yash Tibrewal2018-08-08
| | | | to avoid the need to take refs on the stack for cancellation closures on exec_ctx
* Revert "Merge pull request #15746 from ↵Gravatar Mark D. Roth2018-06-14
| | | | | | | grpc/revert-15709-recv_trailing_metadata_ready2" This reverts commit 3f9308ce1f8cb42c96901c1700f0b9dbb531f186, reversing changes made to 92a0ae0b1081840d2c5a488f66bf6550c1a492f4.
* Revert "Second attempt: move recv_trailing_metadata into its own callback, ↵Gravatar Mark D. Roth2018-06-13
| | | | don't use on_complete for recv_ops"
* Code review changes.Gravatar Mark D. Roth2018-06-11
|
* Revert "Revert "move recv_trailing_metadata into its own callback, don't use ↵Gravatar Mark D. Roth2018-06-11
| | | | | | on_complete for recv_ops"" This reverts commit f3715134458cb14efd855d948f229dc2661b4028.
* Revert "move recv_trailing_metadata into its own callback, don't use ↵Gravatar Mark D. Roth2018-06-08
| | | | on_complete for recv_ops"
* Move recv_trailing_metadata into its own callback. Don't useGravatar Mark D. Roth2018-06-08
| | | | on_complete for recv_ops.
* Remove unnecessary includes of exec_ctx.hGravatar Yash Tibrewal2018-03-14
|
* Add a sanity check for inclusion of port_platform.hGravatar Alexander Polcyn2018-02-23
|
* Split lib/support into lib/gpr and lib/gpr++.Gravatar Mark D. Roth2018-01-18
|
* Revert "Revert "All instances of exec_ctx being passed around in src/core ↵Gravatar Yash Tibrewal2017-12-06
| | | | removed""
* Revert "All instances of exec_ctx being passed around in src/core removed"Gravatar Yash Tibrewal2017-12-06
|
* Merge master after no Extern C changesGravatar Yash Tibrewal2017-11-30
|\
* \ Merge masterGravatar Yash Tibrewal2017-11-21
|\ \
| | * Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-cGravatar ncteisen2017-11-20
| | |\ | | |/ | |/|
| | * clang fmtGravatar ncteisen2017-11-17
| | |
| | * Remove all extern CGravatar ncteisen2017-11-17
| | |
* | | Removing instances of exec_ctx being passed around in functions inGravatar Yash Tibrewal2017-10-18
| |/ |/| | | | | | | | | | | | | | | | | | | 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.
| * Better nameGravatar Craig Tiller2017-10-18
| |
| * C++ize tracingGravatar Craig Tiller2017-10-16
|/
* Changes for C to C++. Adding extern C to header files for compatibility.Gravatar Yash Tibrewal2017-10-02
|
* Reset cancellation closure when unreffing the call to avoid race conditions.Gravatar Mark D. Roth2017-09-05
|
* Fix asan and tsan failures.Gravatar Mark D. Roth2017-09-01
|
* Revert "Revert "Implement call combiner""Gravatar Mark D. Roth2017-09-01
| | | | This reverts commit bf19961d0a49b43cb528392efeb4880eeebb9b5e.
* Revert "Implement call combiner"Gravatar Mark D. Roth2017-08-29
|
* Implement call combiner.Gravatar Mark D. Roth2017-08-25