Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
4864e9d7
Commit
4864e9d7
authored
Feb 01, 2003
by
mthomas
Browse files
[project @ 2003-02-01 09:10:16 by mthomas]
Initialize stp->n_to_blocks as 0. Add function for MinGW32 in Signals.c.
parent
cfb71762
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Signals.c
View file @
4864e9d7
/* -----------------------------------------------------------------------------
* $Id: Signals.c,v 1.3
3
2003/0
1/25 15:54:50 wolfgang
Exp $
* $Id: Signals.c,v 1.3
4
2003/0
2/01 09:10:16 mthomas
Exp $
*
* (c) The GHC Team, 1998-1999
*
...
...
@@ -473,5 +473,18 @@ initDefaultHandlers()
ieee_set_fp_control
(
0
);
#endif
}
#else
/* mingw32_TARGET_OS */
#endif
/*! mingw32_TARGET_OS */
// Handle all signals in the current thread.
// Called from Capability.c whenever the main capability is granted to a thread
// and in installDefaultHandlers
void
handleSignalsInThisThread
()
{
#ifdef RTS_SUPPORTS_THREADS
#error "handleSignalsInThread needs to be sorted out for MinGW32"
/* signalHandlingThread = pthread_self();*/
#endif
}
#endif
/* mingw32_TARGET_OS */
ghc/rts/Storage.c
View file @
4864e9d7
/* -----------------------------------------------------------------------------
* $Id: Storage.c,v 1.7
5
2003/0
1/29 10:28:56 simon
ma
r
Exp $
* $Id: Storage.c,v 1.7
6
2003/0
2/01 09:10:17 mtho
ma
s
Exp $
*
* (c) The GHC Team, 1998-1999
*
...
...
@@ -148,6 +148,7 @@ initStorage( void )
stp
=
&
generations
[
g
].
steps
[
s
];
stp
->
no
=
s
;
stp
->
blocks
=
NULL
;
stp
->
n_to_blocks
=
0
;
stp
->
n_blocks
=
0
;
stp
->
gen
=
&
generations
[
g
];
stp
->
gen_no
=
g
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment