summary refs log tree commit diff stats
path: root/lib/pure/asyncdispatch.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix #4390Eduardo Bart2016-06-211-1/+1
|
* Add withTimeout proc for futuresEduardo Bart2016-06-191-0/+18
|
* Lets make arguments names equal on all platforms.cheatfate2016-06-171-2/+2
|
* New version, without any piece of code duplication.cheatfate2016-06-171-0/+149
|
* Merge pull request #4336 from cheatfate/protectwinrwAndreas Rumpf2016-06-161-0/+16
|\ | | | | Implement protection on callback environment.
| * One more place to release callback environment protectioncheatfate2016-06-141-0/+2
| |
| * Implement protection on callback environment.cheatfate2016-06-141-0/+14
| |
* | Reverts 1446dc87c3. Fixes #4333. Fixes #4170.Dominik Picheta2016-06-151-6/+4
|/
* Resolve some dom96 commentscheatfate2016-06-121-11/+16
|
* Introduce addRead/addWrite for Windows IOCP.cheatfate2016-06-121-0/+120
|
* stdlib: asyncdispatch: `all`: Docs updated.Константин Молчанов2016-06-021-4/+7
|
* stdlib: asyncdispatch: `all`: Redundant closure removed.Константин Молчанов2016-06-021-8/+5
|
* stdlib: asyncdispatch: `all`: Tests now pass; import sequtils removed; ↵Konstantin Molchanov2016-06-011-2/+18
| | | | Future[void] case optimized.
* sttdlib: asyncdispatch: `all`: Add Future[void] support.Konstantin Molchanov2016-05-311-15/+19
|
* stdlib: asyncdispatch: `all`: typo fixed.Konstantin Molchanov2016-05-311-1/+1
|
* stdlib: asyncdispatch: `add` proc supports varargs now.Konstantin Molchanov2016-05-311-6/+3
|
* Stdlib: asyncdispatch: `all` proc: Fix incorect counter value issue.Konstantin Molchanov2016-05-311-5/+8
|
* Stdlib: asyncdispatch: `all` proc: Replace req with openarray.Konstantin Molchanov2016-05-311-1/+1
|
* Stdlib: asyncdispatch: Add support of varargs to `all`.Konstantin Molchanov2016-05-311-0/+3
|
* Stdlib: asyncdispatch: Add proc `all`.Konstantin Molchanov2016-05-301-1/+23
|
* Resolve bugs with `deep recursion` of asyncdispatch.cheatfate2016-05-181-3/+24
| | | | | Introduce callSoon() implementation. Patch tests to use waitFor() instead of asyncCheck()
* Restore sanity check for bytesReceived in asyncdispatch.Dominik Picheta2016-05-131-0/+4
|
* Resolve bugs based on unreliable `bytesReceived` value.cheatfate2016-05-121-53/+14
|
* Merge pull request #4122 from yglukhov/binheapDominik Picheta2016-04-281-18/+26
|\ | | | | Added heapqueue collection. Fixed timers in asyncdispatch.
| * Added heapqueue collection. Fixed timers in asyncdispatch.Yuriy Glukhov2016-04-281-18/+26
| |
* | CompletionKey parameter for functions CreateIoCompletionPort,cheatfate2016-04-191-2/+2
|/ | | | GetQueuedCompletionStatus must be 64bit size on amd64 and 32bit size on x86.
* `await x` where x is Fut var now reads after yield. Fixes #3964.Dominik Picheta2016-04-041-5/+25
|
* fixes regressionAraq2015-10-071-3/+3
|
* Rename rawsockets module to nativesocketsAdam Strzelecki2015-10-031-17/+17
| | | | | | | | | | This change was done to avoid confusion with TCP/IP raw sockets. Native sockets module represents handling native system low level socket API in general and is not just limited anyhow to TCP/IP raw sockets. A stub lib/deprecated/pure/rawsockets.nim module has been added as compatibility layer for old code using rawsockets, so this change will not break existing code.
* fixes #3356Araq2015-09-231-11/+20
|
* Fix proc closeSocket (posix): bad file descriptor errorwt2015-09-181-1/+1
|
* Improve asyncdispatch error messages, fix some tests on Windows.Dominik Picheta2015-09-111-17/+31
|
* Reintroduce FutureVar[T] from commit 72b4912c84b16644657.Dominik Picheta2015-09-111-0/+31
|
* The async macro now supports transforming multiple async procs.Dominik Picheta2015-08-031-7/+18
| | | | | | | | | | | | This is a workaround for #3182, no forward declarations. You can now do this: ```nim async: proc bar(): Future[T] proc foo() = await bar() proc bar() {.async.} = echo(123); await foo() ```
* Merge branch 'async_callback_issue_0412' of https://github.com/l04m33/Nim ↵Dominik Picheta2015-07-261-6/+14
|\ | | | | | | | | | | | | into l04m33-async_callback_issue_0412-2 Conflicts: lib/pure/asyncdispatch.nim
| * Check for async errors inKay Zheng2015-04-181-3/+11
| |
| * Ignore EvError in `asyncdispatch.poll(...)` for non-windows systems, so that ↵Kay Zheng2015-04-121-3/+3
| | | | | | | | exceptions can be raised from `send(...)` and `recv(...)`
* | Update asyncdispatch.nimapense2015-07-091-3/+3
| |
* | asyncdispatch compiles again on LinuxAraq2015-07-011-1/+1
| |
* | Merge branch 'more_concurrency' into develAraq2015-06-301-3/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-3/+2
| | |
* | | Fixes socket problems on Windows and normalises some names.Dominik Picheta2015-06-291-16/+17
| | | | | | | | | | | | Ref #2976. Ref #2003. See news.txt for details.
* | | Fixes net/asyncdispatch on Windows. Ref #2976. Fixes #2996.Dominik Picheta2015-06-251-2/+2
| | |
* | | Match the AF of the socket in connect().Andrew Yourtchenko2015-06-241-2/+3
| | |
* | | Make asyncdispatch.connectAddr IPv6-aware.Andrew Yourtchenko2015-06-241-2/+2
| | |
* | | lib/pure/a-c - Dropped 'T' from typespdw2015-06-041-80/+83
| | |
* | | Fix bug with asyncdispatch.async and discard statements.Philip Witte2015-05-201-1/+1
| | |
* | | Fixed 'milliseconds' spelling in code and docspdw2015-05-151-1/+1
|/ /
* | Revert "Introduce FutureVar[T] to make recvLineInto safer."def2015-04-261-31/+0
| | | | | | | | This reverts commit 72b4912c84b16644657f94e54105739cba4b2457.
* | Fix asyncdispatch on Windows.Dominik Picheta2015-04-241-0/+111
| |