attempt to make asynchttpserver better; fixes #15925; [backport:1.0]
This commit is contained in:
parent
778914c3ca
commit
8778d4a6f3
7 changed files with 123 additions and 50 deletions
|
|
@ -55,7 +55,7 @@ when hasThreadSupport:
|
|||
maxFD: int
|
||||
numFD: int
|
||||
fds: ptr SharedArray[SelectorKey[T]]
|
||||
count: int
|
||||
count*: int
|
||||
Selector*[T] = ptr SelectorImpl[T]
|
||||
else:
|
||||
type
|
||||
|
|
@ -64,7 +64,7 @@ else:
|
|||
maxFD: int
|
||||
numFD: int
|
||||
fds: seq[SelectorKey[T]]
|
||||
count: int
|
||||
count*: int
|
||||
Selector*[T] = ref SelectorImpl[T]
|
||||
type
|
||||
SelectEventImpl = object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue