Exemplo n.º 1
0
static void pollset_kick_locked(grpc_fd_watcher *watcher) {
  gpr_mu_lock(&watcher->pollset->mu);
  GPR_ASSERT(watcher->worker);
  grpc_pollset_kick_ext(watcher->pollset, watcher->worker,
                        GRPC_POLLSET_REEVALUATE_POLLING_ON_WAKEUP);
  gpr_mu_unlock(&watcher->pollset->mu);
}
Exemplo n.º 2
0
void grpc_pollset_kick(grpc_pollset *p, grpc_pollset_worker *specific_worker) {
    grpc_pollset_kick_ext(p, specific_worker, 0);
}