Make the default deadline gpr_inf_future to avoid mismatch between
gpr_inf_future and time_point::max(). The redundant AbsoluteDeadline prefix is removed from the utility function names. Now the ClientContext holds a gpr_timespec instead of a time_point. A test will be added in the server side deadline support cl. Change on 2014/12/11 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81920769
Showing
- include/grpc++/client_context.h 5 additions, 2 deletionsinclude/grpc++/client_context.h
- src/cpp/client/channel.cc 8 additions, 14 deletionssrc/cpp/client/channel.cc
- src/cpp/client/client_context.cc 4 additions, 5 deletionssrc/cpp/client/client_context.cc
- src/cpp/server/completion_queue.cc 4 additions, 4 deletionssrc/cpp/server/completion_queue.cc
- src/cpp/util/time.cc 4 additions, 3 deletionssrc/cpp/util/time.cc
- src/cpp/util/time.h 3 additions, 4 deletionssrc/cpp/util/time.h
- test/cpp/util/time_test.cc 3 additions, 5 deletionstest/cpp/util/time_test.cc
Loading
Please register or sign in to comment