summary refs log tree commit diff stats
path: root/tests/async/tioselectors.nim
Commit message (Collapse)AuthorAgeFilesLines
* deprecate unsafeAddr; extend addr (#19373)flywind2022-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * deprecate unsafeAddr; extend addr addr is now available for all addressable locations, unsafeAddr is deprecated and become an alias for addr * follow @Vindaar's advice * change the signature of addr * unsafeAddr => addr (stdlib) * Update changelog.md * unsafeAddr => addr (tests) * Revert "unsafeAddr => addr (stdlib)" This reverts commit ab83c99c507048a8396e636bf22d55fdd84d7d1c. * doc changes; thanks to @konsumlamm Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* style usages part one (openarray => openArray) (#19321)flywind2022-01-041-2/+2
| | | | | * style usages (openArray) * revert doc changes
* fix #13166 tioselectors flaky test on freebsd+OSX (#14634)Timothee Cour2020-06-121-4/+5
|
* enable tioselectors on osx; more diagnostic for #13166 (#14625)Timothee Cour2020-06-091-5/+3
|
* fix deprecations and other warnings (#13748)Miran2020-03-251-3/+3
|
* asyndispatch: removed deprecated setEvent procAraq2019-09-211-3/+3
|
* require errormsg to be specified before file.Arne Döring2018-12-111-1/+0
|
* Fix tests on NixOS (#9209) (#9285)xzfc2018-10-101-2/+2
| | | | | | | * Replace `/bin/sleep` with just `sleep`, i.e. use environment variable `$PATH` to locate binary. * Replace `/usr/share/zoneinfo` with `$TZDIR` when it is defined, fallback to hardcoded path otherwise. This is the same behavior that Glibc2 normally have, see man 3 tzset.
* disable tioselectors test for OSXAndreas Rumpf2018-08-061-1/+3
|
* make asyncdispatch.poll completing all opterations that can be comple… (#6911)Andreas Rumpf2017-12-191-3/+3
| | | introduce asyncdispatch.drain that completes all operations that can be completed immediately; implements #6523
* Async upcoming (#6585)Dominik Picheta2017-11-221-1/+1
| | | | | | | | | | | | | * 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.
* One more attempt to fix tioselectors.nim test (#6020)Eugene Kabanov2017-06-271-4/+8
|
* Fix tioselectors.nim for appveyor. (#5694)Eugene Kabanov2017-04-121-3/+4
|
* Fix tioselectors.nim test timeouts to be executed in appveyor more stable. ↵Eugene Kabanov2017-03-291-4/+4
| | | | (#5622)
* Fixes to support Dragonfly BSD. (#5552)Eugene Kabanov2017-03-171-6/+6
| | | | | | | | | * Fix kqueue.nim and ansi_c.nim to support dragonfly. * Fix ioselectors.nim, threads.nim to support dragonfly. * Fix deprecated dealloc call in tioselectors.nim. * Fix tfsmonitor.nim test to run only on Linux. * Fix osproc.nim return wrong exit codes. * Fix getAppFilename() for dragonfly. * Fix proper exit code handling.
* Fix #5128, #5184. (#5214)Eugene Kabanov2017-01-161-27/+26
| | | | | | | | | | | | * Fix #5128, #5184. Removed flush() procedure from ioselectors.nim Changed methods of work with application-driven data * Make cache switch for kqueue, update test for it. * Fix registerProcess bug returns wrong id. Fix tupcoming_async test to compile with upcoming again. Change socket() as unique identifier to dup(socket) as unique identifier.
* Fix compilation errors and enable async events on partially supported systems.cheatfate2016-12-071-6/+5
|
* Add support for kqueue's EVFILT_VNODE (filesystem monitoring), and add test ↵cheatfate2016-09-241-0/+213
| | | | for it.
* Resolve #4606cheatfate2016-08-121-4/+4
| | | | Resolve some new deprecated warnings for test.
* Resolve problems with test on macosx.cheatfate2016-07-061-0/+1
|
* ioselectors separated and refactored version.cheatfate2016-07-051-4/+4
| | | | adopted asyncdispatch version
* Event enum is now .pure.cheatfate2016-06-261-11/+11
| | | | | | Modified getMaxFds() to work more properly. Removed seqs from code Some exceptions replaced with doAssert
* Forgot about newlines at the endcheatfate2016-06-231-1/+1
|
* Small version of ioselectors.nim, without code duplication and some renames.cheatfate2016-06-231-0/+407