None%A small collection of helper functions for creating threads that can be killed each time Halive re-runs your main function. This is helpful for programs where you control the threads, but doesn't solve the problem of libraries that use threads (unless you unpack them and replace all forkIOforkOS with forkIO'forkOS') It would be good to ask GHC devs about this; perhaps a GHC flag that registers threads similar to this module, for development use only?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 continuing9Register a thread to be killed when killThreads is calledEFork a thread and register it to be killed when killThreads is calledIFork an OS thread and register it to be killed when killThreads is called Safe-InferredMTakes a unique integer representing your value, along with an IO action to create the first instance of your value to be used on subsequent recompilations. halive-0.1.0.5Halive.Concurrent Halive.Utils killThreadsregisterThreadforkIO'forkOS' reacquireregisteredThreads