diff options
author | Araq <rumpf_a@web.de> | 2017-05-16 20:51:50 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-05-16 20:51:50 +0200 |
commit | 0f2648c56dec3681bb6e3b0d53c8a75f901c6b96 (patch) | |
tree | bf5d0761f2e9918e0082a8898624cb760204ec0b /lib/pure/asyncdispatch.nim | |
parent | 321d1f8b65c1cb41995ad033ea1a6a11bb22df8d (diff) | |
parent | 0613f08b2461c5ecb64518a65e20c3769938d21e (diff) | |
download | Nim-0f2648c56dec3681bb6e3b0d53c8a75f901c6b96.tar.gz |
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'lib/pure/asyncdispatch.nim')
-rw-r--r-- | lib/pure/asyncdispatch.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pure/asyncdispatch.nim b/lib/pure/asyncdispatch.nim index e48fe8d94..8c1cf6b18 100644 --- a/lib/pure/asyncdispatch.nim +++ b/lib/pure/asyncdispatch.nim @@ -9,7 +9,7 @@ include "system/inclrtl" -import os, oids, tables, strutils, times, heapqueue, options +import os, tables, strutils, times, heapqueue, options import nativesockets, net, deques @@ -163,8 +163,8 @@ include includes/asyncfutures type PDispatcherBase = ref object of RootRef - timers: HeapQueue[tuple[finishAt: float, fut: Future[void]]] - callbacks: Deque[proc ()] + timers*: HeapQueue[tuple[finishAt: float, fut: Future[void]]] + callbacks*: Deque[proc ()] proc processTimers(p: PDispatcherBase) {.inline.} = #Process just part if timers at a step |