Commit Graph

40 Commits

Author SHA1 Message Date
Craig Tiller 143e7bf0cf Introduce a clock type field onto gpr_timespec.
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
2015-07-13 08:41:49 -07:00
yang-g adfed03146 Add missing headers to build.json 2015-06-23 13:01:22 -07:00
Craig Tiller ce40de58da clang-format 2015-06-05 07:14:58 -07:00
Craig Tiller 50a7a68ca2 Progress commit on fixing up C++ 2015-06-04 12:53:40 -07:00
Craig Tiller 81fafa8971 Beginning the cleanup 2015-06-04 08:51:17 -07:00
Craig Tiller f9e6adf998 Completion queue binding for new requests API change
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
2015-05-06 11:45:59 -07:00
Nicolas "Pixel" Noble fd2bf675f7 Merge branch 'master' of github.com:grpc/grpc into the-purge-2
Conflicts:
	include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao c4b6ffb1b6 Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free. 2015-04-24 13:09:40 -07:00
Nicolas Noble 89219162dd Refactoring std::chrono out. 2015-04-08 05:42:08 +02:00
Yang Gao b7b965c842 Make Next free of time_point to timespec conversion 2015-03-20 15:27:51 -07:00
Yang Gao 050e37aab8 resolve merge error 2015-03-19 07:27:28 -07:00
Yang Gao 1fc046902c sync to head and run clang-format again 2015-03-19 07:23:08 -07:00
Nicolas "Pixel" Noble eab96f51fb Dodging VisualStudio's #define of max(). 2015-03-19 06:41:10 +01:00
Yang Gao 757afaeb30 clang-format new changes 2015-03-17 15:49:26 -07:00
Yang Gao d672d8fbe2 resolve merge confict 2015-03-17 15:47:47 -07:00
Yang Gao 6baa9b67ad clang-format c++ code 2015-03-17 10:49:39 -07:00
vjpai 7aadf46fdb Change to std::chrono and add a test. 2015-03-17 00:39:18 -07:00
Vijay Pai c41bf3cb5a More sane ordering of methods 2015-03-12 05:19:34 -07:00
Vijay Pai 3e0a46a1c4 Change behavior to properly account for possibility of NULL
tag. This can happen if the tag is actually an integer being
typecast to void*

To avoid breaking the API of existing Next calls, I've made
a new AsyncNext method with a tri-state return that indicates
whether there is a shutdown, an actual event, or a timeout.

Still needs proper testing for the AsyncNext method specifically.
2015-03-12 05:16:31 -07:00
Vijay Pai ee705f6d66 Add support for deadline on CompletionQueue::Next
If the deadline elapses, return true but have a null tag.
2015-03-11 15:52:43 -07:00
Yang Gao 7694c35d5f Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed 2015-03-03 09:48:06 -08:00
Nicolas "Pixel" Noble 1ff52d5278 Guard headers tool. 2015-03-01 06:18:14 +01:00
Craig Tiller d24d13d6eb Simplify TryPluck 2015-02-18 15:35:32 -08:00
Craig Tiller eaaee49f9b Merge github.com:grpc/grpc into an-update-on-c++ 2015-02-18 13:14:15 -08:00
Craig Tiller 492968f7d9 Server side cancellation receive support 2015-02-18 13:14:03 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 645466e089 Initial sketch 2015-02-18 09:18:33 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller ab294db744 Add some comments 2015-02-17 15:00:19 -08:00
Craig Tiller 573523f127 clang-format 2015-02-17 07:38:26 -08:00
Yang Gao 31150f01db implement async unary call 2015-02-12 16:44:00 -08:00
Craig Tiller 04c8ff0245 Fix FinalizeResult signature 2015-02-11 11:01:07 -08:00
Craig Tiller c416577636 Server progress 2015-02-11 10:51:04 -08:00
Craig Tiller 80e00a8c63 Stub out unary call wrapper 2015-02-09 20:54:25 -08:00
Craig Tiller de917062ec Refine completion queue 2015-02-09 17:15:03 -08:00
Craig Tiller 061754a483 Cleanup some cruft 2015-02-09 14:56:49 -08:00
Craig Tiller 50950712c1 Further progress 2015-02-09 10:38:38 -08:00
Craig Tiller c4965751a0 Starting to scratch out the API 2015-02-09 09:51:00 -08:00
Craig Tiller 6135107e4a New completion queue 2015-02-06 17:17:24 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00