Commit Graph

29 Commits

Author SHA1 Message Date
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07: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 85371a2bb0 Change pollset mutex ownership 2016-02-25 13:55:13 -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
Nicolas "Pixel" Noble f9c58f3bf7 Merge branch 'release-0_12'
Conflicts:
	src/core/security/credentials.c
	test/core/security/credentials_test.c
2015-12-01 22:40:44 +01:00
Julien Boeuf 3c957e60a3 Fixing implementations. 2015-11-18 21:33:58 -08:00
Julien Boeuf 4e02e84062 Got the core test passing. 2015-10-09 22:49:42 -07: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 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 dfff1b8126 Call list progress 2015-09-21 14:39:57 -07:00
Craig Tiller d1bec03fa1 Call list progress 2015-09-18 17:29:00 -07:00
Craig Tiller 4c06b820e0 Add a test of non-blocking API behavior
... also fix things that were broken :)
2015-08-06 08:41:31 -07:00
Craig Tiller 06aeac6470 Merge github.com:grpc/grpc into plucking-hell 2015-07-30 07:54:12 -07:00
Craig Tiller 5ddbb9d405 Allow specific pollers to be woken
Currently, if two threads call grpc_completion_queue_pluck on the same
completion queue for different tags, there is a 50% chance that we
deliver the completion wakeup to the wrong poller - forcing the correct
poller to wait until its polling times out before it can return an event
up to the application.

This change tweaks our polling interfaces so that we can indeed wake a
specific poller.

Nothing has been performance tuned yet. It's definitely sub-optimal in a
number of places. Wakeup file-descriptors should be recycled. We should
have a path that avoids calling poll() followed by epoll(). We can
probably live without it right at the second though.

This code will fail on Windows at least (I'll do that port when I'm in the office and have a Windows
machine).
2015-07-29 15:58:11 -07:00
yang-g c5eccd45f4 Fix clock type mismatch 2015-07-28 00:23:50 -07:00
yang-g 5e7e55b957 Merge with head and resolve conflict 2015-07-17 22:15:12 -07:00
yang-g 76fcaeeeb5 resolve comments 2015-07-13 23:46:06 -07:00
yang-g be5f059219 Add oauth2_auth_token test case in interop test 2015-07-13 11:11:50 -07:00