Skip to content

Commit

Permalink
Fix sharedqueue test
Browse files Browse the repository at this point in the history
  • Loading branch information
brjohnsn committed Feb 17, 2018
1 parent 543cb69 commit b1e2412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/rxpkg/schedulers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ proc immediateScheduler*(): Scheduler =
sleep(t.millis)
p()
result.now = proc(): Time =
epochTime().fromSeconds()
getTime()
3 changes: 1 addition & 2 deletions src/rxpkg/sharedqueue.nim
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ when isMainModule:
x.atomicSend(2)
x.atomicSend(3)

spawn:
localEcho(x)
spawn localEcho(x)

sync()

0 comments on commit b1e2412

Please sign in to comment.