summary refs log tree commit diff stats
path: root/lib/pure/selectors.nim
Commit message (Collapse)AuthorAgeFilesLines
* docgen fixes for selectors.nimAndreas Rumpf2016-09-261-1/+2
|
* Fixes #4262.Dominik Picheta2016-09-171-0/+4
|
* Resolve #4334cheatfate2016-06-141-5/+6
|
* Fix a few deprecation warningsdef2016-01-251-5/+5
|
* Use nanoseconds for timeouts less than 1 second on Mac OS X.Dominik Picheta2015-11-011-1/+3
|
* Fix poll's timeout for Mac OS X in the seletors module.Dominik Picheta2015-11-011-1/+1
|
* selectors: Cleanup a bit epoll flavorAdam Strzelecki2015-09-291-10/+2
| | | | | | 1. Remove select documentation that is duplicate of nimdoc section below 2. Simplify a bit register proc code
* Selectors using OS X & Free/Open/NetBSD kqueue APIAdam Strzelecki2015-09-291-0/+82
|
* Fix nimdoc generation for lib/pure/selectors.nimSergey Avseyev2015-07-091-1/+2
|
* prepared selectors module for multi threadingAraq2015-06-301-34/+58
|
* Merge branch 'more_concurrency' into develAraq2015-06-301-71/+61
|\ | | | | | | | | | | | | | | Conflicts: doc/tut1.txt lib/core/locks.nim lib/pure/collections/tables.nim lib/pure/selectors.nim
| * some progress on making async multithreadedAraq2015-05-281-72/+62
| |
* | lib/pure/p-t - Dropped 'T' from typespdw2015-06-041-2/+2
|/
* Don't run non-test code when defined(testing)Oleh Prypin2015-04-211-1/+1
|
* Clean up selectors documentation a bitdef2015-02-241-4/+9
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* made a test greenAraq2015-02-121-1/+1
|
* Handle EPOLLHUP to avoid chaos/runaways when using certain file descriptors.Elie Zedeck2015-01-211-1/+1
| | | | A concrete example is pipe file descriptors: they generate EPOLLHUP instead of a EPOLLIN (then 0 bytes read). The loop will run wild if this event is not handled.
* Fix: Only handle EPOLLERR as an error eventdef2015-01-131-2/+0
| | | | | When an EPOLLRDHUP is received with epoll_ctl, there can still be data to be read. So we shouldn't immediately close the socket and abort.
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* Handle interrupt on epoll_wait graciously (allows strace to work)def2015-01-041-1/+5
|
* Close async socket on error (instead of looping on epoll_wait with 100% CPU)def2015-01-041-1/+4
|
* 'nimfix' improvements; FdSet is TFdSet againAraq2014-09-081-3/+3
|
* big renameAraq2014-08-271-78/+82
|
* Many async optimisations.Dominik Picheta2014-07-121-1/+1
| | | | | | | | | * Selectors implementation will now attempt to immediately execute an IO operation instead of waiting for a ready notification. * Removed recursion in asynchttpserver. * Improved buffered implementation of recvLine in asyncnet. * Optimised ``respond`` in asynchttpserver removing a possible "Delayed ACK" situation.
* Update selectors.nimVarriount2014-05-251-1/+1
|
* Update selectors.nimVarriount2014-05-251-4/+33
| | | Fixed selectors.nim on macosx
* Fix issue #1134Clay Sweetser2014-05-241-3/+6
| | | | Adds the necessary imports for selectors under MacOSX
* Fixes #1197.Dominik Picheta2014-05-141-8/+28
|
* Fixes docgen.Dominik Picheta2014-04-151-1/+1
|
* Add checks for invalid socket when creating sockets.Dominik Picheta2014-04-151-0/+1
|
* Fixes selectors module on Mac OS X.Dominik Picheta2014-04-061-0/+1
|
* Selectors module now uses select on operating systems other than Linux.Dominik Picheta2014-04-061-23/+9
|
* Select implementation in selectors module compiles again.Dominik Picheta2014-04-061-3/+3
|
* File descriptors are now removed from fds list explicitly in close().Dominik Picheta2014-03-141-19/+17
| | | | Fixes tasyncawait on linux.
* tasyncawait now works on Linux.Dominik Picheta2014-03-111-27/+38
| | | | | | Reworked detection of a file descriptor being closed with epoll (in the case of sockets it is when the remote host disconnects). Ensured that events are only updated when they change.
* Fixes to asyncio2 on Linux.Dominik Picheta2014-03-091-8/+18
|
* Implemented selector support for asyncio2.Dominik Picheta2014-02-221-177/+178
|
* Epoll now works.Dominik Picheta2013-10-311-26/+47
|
* Epoll wrapper + selectors module.Dominik Picheta2013-10-311-0/+228