Next Previous Up Top Contents Index

2.9 The FINALIZATION module

automatic-finalization-enabled?-setter

Function

Summary

Sets the automatic finalization system state.

Signature

automatic-finalization-enabled?-setter newval => () 

Arguments

newval
An instance of <boolean>.

Values

None.

Library

common-extensions

Module

finalization

Description

Sets the automatic finalization system state to newval.

The initial state is #f. If the state changes from #f to #t, a new thread is created which regularly calls drain-finalization-queue inside an empty dynamic environment (that is, no dynamic condition handlers). If the state changes from #t to #f, the thread exits.

See also

automatic-finalization-enabled?, page 55

drain-finalization-queue, page 57

finalize-when-unreachable, page 57

finalize, page 58


Common Dylan and Functional Extensions - 31 Mar 00

Next Previous Up Top Contents Index