-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We can now run the build steps in parallel to speed the overall collection of results. To support parallel builds we now depend on the parallel-io package that provides a thread pool for executing IO actions. To control the number of threads used, you must pass the rts flags such as: $ fibon-run +RTS -N2 -RTS This commit also introduces a dependency on the unix package. We had to use this to install our own signal handler to get CTRL-C to be correctly handled so that it immediatly shuts down the program. Without the custom signal handler it only kills one thread and so it is very difficult to have an early termination of the program.
- Loading branch information
Showing
3 changed files
with
30 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters