bugfix: TCP server does not require multi-threaded environment
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 19 Oct 2023 14:38:37 +0000 (09:38 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 19 Oct 2023 14:38:37 +0000 (09:38 -0500)
core/net/tcp.onyx

index 7393ec6142c63551b9b47612a5d6d656e5c7ce8c..967c84876b0724b92d829bf1f4c08f8b562176b3 100644 (file)
@@ -12,10 +12,6 @@ use core.os
 use core.iter
 use runtime
 
-#if !runtime.Multi_Threading_Enabled {
-    #error "Expected multi-threading to be enabled for TCP server.";
-}
-
 // Should TCP_Connection be an abstraction of both the client and the server?
 // Or is there not enough shared between them to justify that?
 TCP_Connection :: struct {