public void PollReceive(Ring ring) { int socket = _recipient; if (!ring.TryPreparePollAdd(socket, (ushort) POLLIN, AsyncOperation.RecvSocketPoll(socket).AsUlong())) { _scheduler.SchedulePollReceive(socket); } }
public void ScheduleAsyncPollReceive(int socket) { _asyncOperationQueue.Enqueue(AsyncOperation.RecvSocketPoll(socket)); _unblockHandle.UnblockIfRequired(); }
public void SchedulePollReceive(int socket) { _asyncOperationQueue.Enqueue(AsyncOperation.RecvSocketPoll(socket)); }