Async upcoming (#6585)
* Merge upcoming async with current. * Various improvements to selectors (mostly docs). Two changes to highlight: * Renamed ``setEvent`` to ``trigger`` * Reused setBlocking from nativesockets. * Various changes/fixes to asyncdispatch after upcoming merge. * Make some attempts to be compatible with older selectors. * Reuse epoll module in ioselectors_epoll.
This commit is contained in:
parent
2c584cdb3d
commit
d3394be555
10 changed files with 766 additions and 925 deletions
|
|
@ -2,7 +2,7 @@ discard """
|
|||
file: "tioselectors.nim"
|
||||
output: "All tests passed!"
|
||||
"""
|
||||
import ioselectors
|
||||
import selectors
|
||||
|
||||
const hasThreadSupport = compileOption("threads")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue