projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2328e5c
)
bugfix: TCP server does not require multi-threaded environment
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Thu, 19 Oct 2023 14:38:37 +0000
(09:38 -0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Thu, 19 Oct 2023 14:38:37 +0000
(09:38 -0500)
core/net/tcp.onyx
patch
|
blob
|
history
diff --git
a/core/net/tcp.onyx
b/core/net/tcp.onyx
index 7393ec6142c63551b9b47612a5d6d656e5c7ce8c..967c84876b0724b92d829bf1f4c08f8b562176b3 100644
(file)
--- a/
core/net/tcp.onyx
+++ b/
core/net/tcp.onyx
@@
-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 {