Commit Graph

77 Commits

Author SHA1 Message Date
ncteisen 274bbbe6a0 Add rich closure debug mode 2017-06-08 15:29:29 -07:00
Craig Tiller b3899fd18b Merge github.com:grpc/grpc into ALL-the-things 2017-06-08 07:54:10 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Craig Tiller 26e69f6534 clang-format 2017-05-24 15:09:23 -07:00
Craig Tiller cfa8313fbb Fix race 2017-05-24 21:37:39 +00:00
Craig Tiller 2d485f0396 Fix threading assumptions in test 2017-05-24 00:03:19 +00:00
ncteisen 4b36a3d9ea Change error_create API to slice 2017-03-13 20:19:47 -07:00
Robbie Shade ca7effcdff Replace timeout/scaling macros with functions. 2017-01-31 15:40:20 -05:00
Craig Tiller cda759d658 Add an error to fd_shutdown (and recursively)
Allows diagnosing WHY a file descriptor was shutdown prematurely.
2017-01-27 11:37:37 -08:00
Craig Tiller 0b09341461 Merge branch 'cleanup_closures' into slice_with_exec_ctx_and_new_closures 2017-01-03 09:49:07 -08:00
Craig Tiller 91031dacb1 Changes to exec_ctx/closure/combiner/workqueue interfaces
- make closures know where they should be executed (eg, on a workqueue,
  or a combiner, or on an exec_ctx)
- this allows removal of a large number of trampoline functions that
  were appearing whenever we used combiners, and should allow for a much
  easier interface to combiner locks
2016-12-28 15:44:25 -08:00
Craig Tiller 87a7e1fd11 Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-11-09 09:42:19 -08:00
Craig Tiller a59c16c184 Progress towards making grpc_slice_unref_internal take an exec_ctx 2016-10-31 07:25:01 -07:00
Craig Tiller 28b72428a8 clang-format 2016-10-26 21:15:29 -07:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller b37d53ebc0 Bulk update #includes 2016-10-26 16:16:35 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Craig Tiller 0e81d5e98f Merge branch 'idempotent_endpoint_shutdown' into error 2016-06-15 16:31:20 -07:00
Craig Tiller c8762faf46 clang-format code 2016-06-15 16:06:41 -07:00
Craig Tiller aee10fd73c Fix windows tests for idempotent shutdown 2016-06-15 16:03:29 -07:00
Craig Tiller 94c4bac8ea Merge branch 'idempotent_endpoint_shutdown' of github.com:ctiller/grpc into handshake_timeout 2016-06-15 10:05:08 -07:00
Craig Tiller c7ab6dba00 Add a byte to avert a crash (which should be investigated sometime) 2016-06-15 10:04:12 -07:00
Craig Tiller 13c0940f66 Merge branch 'idempotent_endpoint_shutdown' into handshake_timeout 2016-06-15 09:41:33 -07:00
Craig Tiller 52f231212f Make {endpoint,fd}_shutdown idempotent 2016-06-15 09:34:14 -07:00
Craig Tiller 95123ceb9b Add a test for multiple endpoint shutdowns 2016-06-15 08:02:38 -07:00
Yuchen Zeng 64c0e8d4bc Add format check for gpr_log and gpr_asprintf 2016-06-10 11:19:51 -07:00
Mark D. Roth 34ee7e1bc3 Use bool instead of int. 2016-05-13 07:40:58 -07:00
Mark D. Roth 8f42fcc716 Work-in-progress on fixing endpoint tests. 2016-05-12 11:18:54 -07:00
Craig Tiller 4f1d0f337b Error reporting progress 2016-05-06 17:12:37 -07:00
Craig Tiller ddad978996 API fuzzer compiles with new error handling 2016-05-05 17:11:31 -07:00
Nicolas "Pixel" Noble 6415043781 Merge branch 'master' of https://github.com/grpc/grpc into gpr_malloc_is_all 2016-04-05 00:30:40 +02:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Nicolas "Pixel" Noble 7c9a154803 Sanitize mallocs and frees. 2016-03-26 01:33:34 +01:00
Craig Tiller 69b093b360 Revert "Revert "Add an implementation firewall against pollset_set"" 2016-02-25 19:04:07 -08:00
Vijay Pai e9ef536451 Revert "Add an implementation firewall against pollset_set" 2016-02-25 18:10:24 -08:00
Craig Tiller a8be91b315 Provide an interface firewall between pollset and its implementations
Starting to allow for >1 implementation of pollset within a binary.

Do so without requiring an extra allocation for completion queues (which
we could not tolerate).
2016-02-19 16:22:44 -08:00
Craig Tiller d0a8ae1266 Move worker into pollset 2016-02-18 08:01:19 -08:00
Craig Tiller a93a25f7bc Update copyrights 2016-01-28 13:55:49 -08:00
Craig Tiller 6c39686dfa Preparatory changes for work shedding
- cleanup: change grpc_iomgr_cb_func to take a bool instead of int
  success
- cleanup: follow through with iomgr callback scheduling functions
- prepare: add a workqueue to offload to to grpc_exec_ctx_enqueue*
  functions
2016-01-28 13:53:40 -08:00
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
Craig Tiller a82950e683 clang-format all core files 2015-09-22 12:33:20 -07:00
Craig Tiller 8af4c33718 Final patches for rename 2015-09-22 12:32:31 -07:00
Craig Tiller e7db29f8c7 Move argument passing to start of list 2015-09-22 10:55:42 -07:00
Craig Tiller f5768a6765 Rename init 2015-09-22 10:54:34 -07:00
Craig Tiller 098047b53a Rename run 2015-09-22 10:53:14 -07:00
Craig Tiller 9f7dc3a4e5 Move argument passing to start of list 2015-09-22 10:47:08 -07:00
Craig Tiller 1be70ccdb8 Move arguments to the start of lists 2015-09-22 10:45:28 -07:00
Craig Tiller 45724b35e4 indent pass to get logical source lines on one physical line 2015-09-22 10:42:19 -07:00
Craig Tiller d9ccbbf6b9 Rename call_list to closure_list 2015-09-22 09:30:00 -07:00
Craig Tiller d9fdaf204c Fix tests 2015-09-22 08:31:23 -07:00