make upcoming compile on Windows again
This commit is contained in:
parent
82448b1304
commit
2e5663c6d2
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ when defined(windows) or defined(nimdoc):
|
||||||
result.ioPort = createIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, 1)
|
result.ioPort = createIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, 1)
|
||||||
result.handles = initSet[AsyncFD]()
|
result.handles = initSet[AsyncFD]()
|
||||||
result.timers.newHeapQueue()
|
result.timers.newHeapQueue()
|
||||||
result.callbacks = initQueue[proc ()](64)
|
result.callbacks = initDeque[proc ()](64)
|
||||||
|
|
||||||
var gDisp{.threadvar.}: PDispatcher ## Global dispatcher
|
var gDisp{.threadvar.}: PDispatcher ## Global dispatcher
|
||||||
proc getGlobalDispatcher*(): PDispatcher =
|
proc getGlobalDispatcher*(): PDispatcher =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue