Home
last modified time | relevance | path

Searched refs:abs_deadline (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/src/core/lib/gpr/
Dsync_posix.cc75 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait() argument
77 if (gpr_time_cmp(abs_deadline, gpr_inf_future(abs_deadline.clock_type)) == in gpr_cv_wait()
83 abs_deadline = gpr_convert_clock_type(abs_deadline, GPR_CLOCK_MONOTONIC); in gpr_cv_wait()
85 abs_deadline = gpr_convert_clock_type(abs_deadline, GPR_CLOCK_REALTIME); in gpr_cv_wait()
87 abs_deadline_ts.tv_sec = static_cast<time_t>(abs_deadline.tv_sec); in gpr_cv_wait()
88 abs_deadline_ts.tv_nsec = abs_deadline.tv_nsec; in gpr_cv_wait()
Dsync_windows.cc67 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) { in gpr_cv_wait() argument
71 if (gpr_time_cmp(abs_deadline, gpr_inf_future(abs_deadline.clock_type)) == in gpr_cv_wait()
75 abs_deadline = gpr_convert_clock_type(abs_deadline, GPR_CLOCK_REALTIME); in gpr_cv_wait()
76 gpr_timespec now = gpr_now(abs_deadline.clock_type); in gpr_cv_wait()
79 (int64_t)abs_deadline.tv_sec * 1000 + abs_deadline.tv_nsec / 1000000; in gpr_cv_wait()
Dsync.cc73 void* gpr_event_wait(gpr_event* ev, gpr_timespec abs_deadline) { in gpr_event_wait() argument
80 } while (result == nullptr && !gpr_cv_wait(&s->cv, &s->mu, abs_deadline)); in gpr_event_wait()
/external/grpc-grpc/include/grpc/support/
Dsync.h80 GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
131 GPRAPI void* gpr_event_wait(gpr_event* ev, gpr_timespec abs_deadline);
253 int queue_remove(queue *q, int *head, gpr_timespec abs_deadline) {
262 !gpr_cv_wait(&q->non_empty, &q->mu, abs_deadline)) {
/external/grpc-grpc/src/cpp/common/
Dcore_codegen.cc87 gpr_timespec abs_deadline) { in gpr_cv_wait() argument
88 return ::gpr_cv_wait(cv, mu, abs_deadline); in gpr_cv_wait()
/external/grpc-grpc/test/core/gpr/
Dsync_test.cc112 int queue_remove(queue* q, int* head, gpr_timespec abs_deadline) { in queue_remove() argument
120 while (q->length == 0 && !gpr_cv_wait(&q->non_empty, &q->mu, abs_deadline)) { in queue_remove()
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dcore_codegen.h62 int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline) override;
Dcore_codegen_interface.h78 gpr_timespec abs_deadline) = 0;
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h689 typedef int(*gpr_cv_wait_type)(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline);
710 typedef void*(*gpr_event_wait_type)(gpr_event* ev, gpr_timespec abs_deadline);