Source Files
- portions of 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
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.