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