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