EmbeddedNim / picostdlib

Nim wrapper for the raspberry pi stdlib
MIT License
73 stars 11 forks source link

threads #13

Closed Martinix75 closed 3 years ago

Martinix75 commented 3 years ago

hi Jason, I wanted to ask if using "piconim build .." it is possible to pass build flags. I wanted to try to use threadpool (or similar) to manage the display (it's a test) but how do you know you have to enable "--threads: on" is it possible to do this? and generally is it possible to enable these flags when I launch the command?

thanks from Martin A.

beef331 commented 3 years ago

Nim threads will not work, the picosdk does have threading though just needs to be wrapped.

Martinix75 commented 3 years ago

ok! I was hoping you could use thread-nim! thanks for the explanation!