progress with futures
This commit is contained in:
parent
417b9f5a1d
commit
d2dbcf2fa4
8 changed files with 68 additions and 36 deletions
9
tests/parallel/tsysspawnbadarg.nim
Normal file
9
tests/parallel/tsysspawnbadarg.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
discard """
|
||||
line: 7
|
||||
errormsg: "'spawn' takes a call expression"
|
||||
cmd: "nimrod $target --threads:on $options $file"
|
||||
"""
|
||||
|
||||
import threadpool
|
||||
|
||||
spawn(1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue