1 instantiation of SocketAsyncEngine
System.Net.Sockets (1)
System\Net\Sockets\SocketAsyncEngine.Unix.cs (1)
72
engines[i] = new
SocketAsyncEngine
();
14 references to SocketAsyncEngine
System.Net.Sockets (14)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
24
internal bool PreferInlineCompletions { get; set; } =
SocketAsyncEngine
.InlineSocketCompletionsEnabled;
System\Net\Sockets\SocketAsyncContext.Unix.cs (5)
1262
private
SocketAsyncEngine
? _asyncEngine;
1265
/// <summary>An index into <see cref="
SocketAsyncEngine
"/>'s table of all contexts that are currently <see cref="IsRegistered"/>.</summary>
1298
if (
SocketAsyncEngine
.TryRegisterSocket(handle, this, out
SocketAsyncEngine
? engine, out error))
1337
SocketAsyncEngine
.UnregisterSocket(this);
System\Net\Sockets\SocketAsyncEngine.Unix.cs (8)
61
private static readonly
SocketAsyncEngine
[] s_engines = CreateEngines();
64
private static
SocketAsyncEngine
[] CreateEngines()
68
var engines = new
SocketAsyncEngine
[engineCount];
79
/// Each <see cref="SocketAsyncContext"/> is assigned an index into this table while registered with a <see cref="
SocketAsyncEngine
"/>.
115
public static bool TryRegisterSocket(IntPtr socketHandle, SocketAsyncContext context, out
SocketAsyncEngine
? engine, out Interop.Error error)
118
SocketAsyncEngine
nextEngine = s_engines[engineIndex];
203
var thread = new Thread(static s => ((
SocketAsyncEngine
)s!).EventLoop())
359
public SocketEventHandler(
SocketAsyncEngine
engine)