1 instantiation of SocketAsyncEngine
System.Net.Sockets (1)
System\Net\Sockets\SocketAsyncEngine.Unix.cs (1)
71
engines[i] = new
SocketAsyncEngine
();
11 references to SocketAsyncEngine
System.Net.Sockets (11)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
24
internal bool PreferInlineCompletions { get; set; } =
SocketAsyncEngine
.InlineSocketCompletionsEnabled;
System\Net\Sockets\SocketAsyncContext.Unix.cs (3)
1262
private
SocketAsyncEngine
? _asyncEngine;
1296
if (
SocketAsyncEngine
.TryRegisterSocket(handle, this, out
SocketAsyncEngine
? engine, out error))
System\Net\Sockets\SocketAsyncEngine.Unix.cs (7)
60
private static readonly
SocketAsyncEngine
[] s_engines = CreateEngines();
63
private static
SocketAsyncEngine
[] CreateEngines()
67
var engines = new
SocketAsyncEngine
[engineCount];
111
public static bool TryRegisterSocket(IntPtr socketHandle, SocketAsyncContext context, out
SocketAsyncEngine
? engine, out Interop.Error error)
114
SocketAsyncEngine
nextEngine = s_engines[engineIndex];
173
var thread = new Thread(static s => ((
SocketAsyncEngine
)s!).EventLoop())
330
public SocketEventHandler(
SocketAsyncEngine
engine)