Hello, 

Is it correct that use REALTIME clock when calling gpr_cv_wait() in 
ev_epollex_linux.cc?

https://github.com/grpc/grpc/blob/master/src/core/lib/iomgr/ev_epollex_linux.cc#L1042
if (gpr_cv_wait(&worker->cv, &worker->pollable_obj->mu,
grpc_millis_to_timespec(deadline, GPR_CLOCK_REALTIME))) {


The log message of 'commit  54961bb9' is

Change the code to use MONOTONIC clocks when calling gpr_cv_wait (condition 
varialbes in linux
support MONOTONIC clock type)


So, I guess using MONOTONIC clock is correct.
 



-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/9b2f3316-be81-4373-a444-b90dfa25472b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to