D 2014-10-09T17:47:01.218 L Background\sExceptions U dgp W 1141

Source Files

* portions of [/finfo?name=generic/tclEvent.c|tclEvent.c]

Public Interface

* Tcl_BackgroundError * Tcl_BackgroundException

Private Interface

* TclDefaultBgErrorHandlerObjCmd * TclSetBgErrorHandler * TclGetBgErrorHandler

Directly Depends On Public Interface

* [Parsing and Evaluation] * [Tcl_Obj System] * [Notifier] * [Preservation] * [list Object Type] * [Allocation] * [dict Object Type] * [Channel System] * [string Object Type] * [numeric Object Types] * [Panic]

Directly Depends On Private Interface of

* [list Object Type] * [string Object Type] * [Parsing and Evaluation]

Discussion

This module contains the routines for raising background exceptions, and those for registering callback commands in each interp to handle them. Except for the connection to [interp bgerror] and an edge case of hidden command invocation, these routines can be created entirely outside the Tcl public interface as well. Moving this submodule into [interp] should be considered. Z 39171ad4950e4c5610fd51c2b1c034d1