wibbles - drop references to PleaseStopAllocating(), use CloseNursery() to express ExtendNursery()
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: StgStorage.h,v 1.11 2001/11/08 12:46:31 simonmar Exp $
+ * $Id: StgStorage.h,v 1.12 2003/03/26 17:40:58 sof Exp $
*
* (c) The GHC Team, 1998-1999
*
*
* (c) The GHC Team, 1998-1999
*
CloseNursery(hp) Closes the allocation area.
CloseNursery(hp) Closes the allocation area.
- PleaseStopAllocating(void) Arranges that the next call to
- ExtendNursery() will fail, triggering
- a return to the scheduler. This is
- useful for asynchronous interupts etc.
-------------------------------------------------------------------------- */
#define OpenNursery(hp,hplim) \
-------------------------------------------------------------------------- */
#define OpenNursery(hp,hplim) \
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: Storage.h,v 1.49 2003/03/24 14:46:57 simonmar Exp $
+ * $Id: Storage.h,v 1.50 2003/03/26 17:40:57 sof Exp $
*
* (c) The GHC Team, 1998-2002
*
*
* (c) The GHC Team, 1998-2002
*
-------------------------------------------------------------------------- */
#define ExtendNursery(hp,hplim) \
-------------------------------------------------------------------------- */
#define ExtendNursery(hp,hplim) \
- (CurrentNursery->free = (P_)(hp)+1, \
CurrentNursery->link == NULL ? rtsFalse : \
(CurrentNursery = CurrentNursery->link, \
OpenNursery(hp,hplim), \
rtsTrue))
CurrentNursery->link == NULL ? rtsFalse : \
(CurrentNursery = CurrentNursery->link, \
OpenNursery(hp,hplim), \
rtsTrue))
-extern void PleaseStopAllocating(void);
-
/* -----------------------------------------------------------------------------
Performing Garbage Collection
/* -----------------------------------------------------------------------------
Performing Garbage Collection