4 writes to _waitingReadersHead
System.Threading.Channels (4)
System\Threading\Channels\UnboundedChannel.cs (4)
172ChannelUtilities.Enqueue(ref parent._waitingReadersHead, waiter); 215parent._waitingReadersHead = null; 270waitingReadersHead = ChannelUtilities.TryReserveCompletionIfCancelable(ref parent._waitingReadersHead); 329ChannelUtilities.Remove(ref state.Key._waitingReadersHead, waitingReader);
3 references to _waitingReadersHead
System.Threading.Channels (3)
System\Threading\Channels\UnboundedChannel.cs (3)
213waitingReadersHead = parent._waitingReadersHead; 352Debug.Assert(_waitingReadersHead is null, "There's data available, so there shouldn't be any waiting readers."); 357if ((_blockedReadersHead is not null || _waitingReadersHead is not null) && _runContinuationsAsynchronously)