owickstrom / gi-gtk-declarative

Declarative GTK+ programming in Haskell
https://owickstrom.github.io/gi-gtk-declarative/
288 stars 35 forks source link

Document need for -threaded GHC option #40

Closed owickstrom closed 5 years ago

owickstrom commented 5 years ago

For app.simple to work, you need the -threaded flag enabled when compiling. See first point in #38.

This should be clearly documented.

cblp commented 5 years ago

run may just throw an exception if there are no threads.

https://hackage.haskell.org/package/base-4.12.0.0/docs/Control-Concurrent.html#v:rtsSupportsBoundThreads

owickstrom commented 5 years ago

@cblp good idea!