Hi, In case *SleepConditionVariableCS(cv, &mu->cs, timeout_max_ms)* fails at *gpr_cv_wait (sync_windows.cc) *because of an error that is not ERROR_TIMEOUT, the function *gpr_cv_wait *will return 0. This might lead to an hang within the loop *while (g_root_object.next != &g_root_object) *at *grpc_iomgr_shutdown *in case the condition *g_root_object.next != &g_root_object* is always satisfied and *gpr_cv_wait(&g_rcv, &g_mu, short_deadline)* always return 0.
Any advice how handle such an error? What if i check: i*f (gpr_time_cmp(gpr_now(GPR_CLOCK_REALTIME), shutdown_deadline) > 0) *at *grpc_iomgr_shutdown* regardless the result of gpr_cv_wait? Thx, Moshe. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/38585a9a-f2a7-4317-88a6-2df74af78f26%40googlegroups.com.
