feat: Networking v3 using epoll/kqueue (#813)
* Replaces networking internals with epoll/kqueue
This commit is contained in:
parent
8eaa859332
commit
a845f8a1c0
14 changed files with 686 additions and 198 deletions
|
|
@ -55,7 +55,8 @@ namespace Server
|
|||
public static readonly bool IsDarwin = RuntimeInformation.IsOSPlatform(OSPlatform.OSX);
|
||||
public static readonly bool IsFreeBSD = RuntimeInformation.IsOSPlatform(OSPlatform.FreeBSD);
|
||||
public static readonly bool IsLinux = RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || IsFreeBSD;
|
||||
public static readonly bool Unix = IsDarwin || IsFreeBSD || IsLinux;
|
||||
public static readonly bool IsBSD = IsDarwin || IsFreeBSD;
|
||||
public static readonly bool Unix = IsBSD || IsLinux;
|
||||
|
||||
private const string AssembliesConfiguration = "Data/assemblies.json";
|
||||
|
||||
|
|
@ -516,7 +517,6 @@ namespace Server
|
|||
|
||||
// Handle networking
|
||||
TcpServer.Slice();
|
||||
NetState.HandleAllReceives();
|
||||
NetState.Slice();
|
||||
|
||||
// Execute captured post-await methods (like Timer.Pause)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue