Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
unix
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
unix
Commits
cd2a071d
Commit
cd2a071d
authored
12 years ago
by
ian@well-typed.com
Browse files
Options
Downloads
Patches
Plain Diff
Fix signals004 on OS X 32
parent
ef1604f2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/signals004.hs
+6
-1
6 additions, 1 deletion
tests/signals004.hs
with
6 additions
and
1 deletion
tests/signals004.hs
+
6
−
1
View file @
cd2a071d
import
Control.Concurrent
import
System.Info
import
System.Posix
import
Control.Monad
...
...
@@ -8,7 +9,11 @@ import Control.Monad
installers
=
50
-- too many signals overflows the IO manager's pipe buffer, this seems
-- to be the most we can get away with:
sigs
=
400
sigs
=
if
os
==
"darwin"
then
30
-- Otherwise we get "lost signal due to full pipe: 30"
-- errors after the timeout kills the hung process
-- for the threaded{1,2} ways
else
400
main
=
do
c
<-
newChan
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment