|
|
@ -1462,10 +1462,10 @@ static void fd_become_readable(grpc_exec_ctx *exec_ctx, grpc_fd *fd, |
|
|
|
set_ready(exec_ctx, fd, &fd->read_closure); |
|
|
|
set_ready(exec_ctx, fd, &fd->read_closure); |
|
|
|
|
|
|
|
|
|
|
|
/* Note, it is possible that fd_become_readable might be called twice with
|
|
|
|
/* Note, it is possible that fd_become_readable might be called twice with
|
|
|
|
// different 'notifier's when an fd becomes readable and it is in two epoll
|
|
|
|
different 'notifier's when an fd becomes readable and it is in two epoll |
|
|
|
// sets (This can happen briefly during polling island merges). In such cases
|
|
|
|
sets (This can happen briefly during polling island merges). In such cases |
|
|
|
// it does not really matter which notifer is set as the read_notifier_pollset
|
|
|
|
it does not really matter which notifer is set as the read_notifier_pollset |
|
|
|
// (They would both point to the same polling island anyway)
|
|
|
|
(They would both point to the same polling island anyway) */ |
|
|
|
gpr_atm_no_barrier_store(&fd->read_notifier_pollset, (gpr_atm)notifier); |
|
|
|
gpr_atm_no_barrier_store(&fd->read_notifier_pollset, (gpr_atm)notifier); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|