Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
killThreads :: IO () Source
Kill all threads registered to be killed. Meant to be called at the beginning of your program to clean up threads from the last execution before continuing
registerThread :: ThreadId -> IO () Source
Register a thread to be killed when killThreads is called