yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
2018-12-06 14:37:52 -08:00
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
2018-11-30 08:57:38 -08:00
Noah Eisen
4d20a66685
Run clang fmt
2018-02-09 09:34:04 -08:00
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
2018-02-09 09:16:55 -08:00
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
2018-02-02 09:16:44 -08:00
Mark D. Roth
44fe6e282c
Combine BackOff Begin() and Step() methods.
2018-01-18 08:54:45 -08:00
David Garcia Quintas
54d699ddda
Merge branch 'master' of github.com:grpc/grpc into backoff_cpp
2017-12-13 14:44:29 -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
David Garcia Quintas
8df0cc3363
PR Comments
2017-12-05 14:13:09 -08:00
David Garcia Quintas
0f91e513d9
Cleaned up API. Backoff now returns a single value: the time of the next retry
2017-12-04 16:12:54 -08:00
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -08:00
David Garcia Quintas
2258cd7ddc
Converted backoff_test to use gunit
2017-11-29 13:33:39 -08:00
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
2017-11-28 13:23:36 -08:00
David Garcia Quintas
dde6afc0c0
C++-ize backoff
2017-11-22 16:31:01 -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
Yash Tibrewal
4e9265c828
Merge with master
2017-11-09 17:46:29 -08:00
Yash Tibrewal
40422d5fa6
Merge master
2017-11-06 14:43:31 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
David Garcia Quintas
eca25f3746
Improvements to C Core's backoff code and API
2017-11-02 19:40:34 -07:00
Yash Tibrewal
77532036b6
BUILD changes. test languauge to C++
2017-10-31 11:11:18 -07:00
Yash Tibrewal
e586324627
BUILD files changes for bazel
2017-10-30 17:52:07 -07:00
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
2017-10-25 16:23:01 -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
Yash Tibrewal
08708ae25d
backoff_test explicity conversion
2017-10-06 17:03:53 -07:00
Craig Tiller
b7f36d7517
Fix test math error
2017-09-11 15:18:21 -07:00
Craig Tiller
80ae895f1e
Fix Bazel build
2017-09-11 15:18:03 -07:00
Craig Tiller
c0df1c0f9a
Compiling again
2017-07-17 16:12:33 -07:00