yea, that works on my machine too. Thank you
It works fine this way:
import httpclient
import threadpool
proc check() =
discard newHttpClient()
parallel:
spawn check()
Run
It indeed segfaults for me as well.
Traceback (most recent call last)
/home/davide/.choosenim/toolchains/nim-1.6.4/lib/pure/concurrency/threadpool.nim(368)
slave
/tmp/a.nim(7)checkWrapper
/home/davide/.choosenim/toolchains/nim-1.6.4/lib/pure/httpclient.nim(56
Debian 11 and latest Nim 1.6
This compiles and runs for me. Which OS are you and what is your nim version?
Hi,
I'm currently trying getting the following code to work:
import httpclient
import threadpool
proc check() =
discard newHttpClient()
spawn check()
Run
it compiles successfully but crashes as soon as it reaches the newHttpClient()
line. I alre