2 types derived from SerialStreamIORequest
System.IO.Ports (2)
System\IO\Ports\SerialStream.Unix.cs (2)
1109private sealed class SerialStreamReadRequest : SerialStreamIORequest 1120private sealed class SerialStreamWriteRequest : SerialStreamIORequest
14 references to SerialStreamIORequest
System.IO.Ports (14)
System\IO\Ports\SerialStream.Unix.cs (14)
39private readonly Queue<SerialStreamIORequest> _readQueue = new(); 41private readonly Queue<SerialStreamIORequest> _writeQueue = new(); 696while (_readQueue.TryDequeue(out SerialStreamIORequest r)) 706while (_writeQueue.TryDequeue(out SerialStreamIORequest r)) 774private delegate int RequestProcessor(SerialStreamIORequest r); 778private unsafe int ProcessRead(SerialStreamIORequest r) 811private unsafe int ProcessWrite(SerialStreamIORequest r) 848private static int DoIORequest(Queue<SerialStreamIORequest> q, object queueLock, RequestProcessor op) 851while (TryPeekNextRequest(out SerialStreamIORequest r)) 869bool TryPeekNextRequest(out SerialStreamIORequest r) 1017private static void RemoveCompletedTasks(Queue<SerialStreamIORequest> queue, object queueLock) 1022while (queue.TryPeek(out var r) && r.IsCompleted) 1090var request = (SerialStreamIORequest)s;