Skip to content
Tcl Source Code Artifact [7053e9bf5c]
Login

Artifact [7053e9bf5c]

Artifact 7053e9bf5cce6bdbfedc3bc4f499e6ebb3058d2d:

Wiki page [Background Exceptions] by dgp on 2014-10-09 17:47:01.
D 2014-10-09T17:47:01.218
L Background\sExceptions
U dgp
W 1141
<h1>Source Files</h1>
  *  portions of [/finfo?name=generic/tclEvent.c|tclEvent.c]

<h1>Public Interface</h1>
  *  Tcl_BackgroundError
  *  Tcl_BackgroundException

<h1>Private Interface</h1>
  *  TclDefaultBgErrorHandlerObjCmd
  *  TclSetBgErrorHandler
  *  TclGetBgErrorHandler

<h1>Directly Depends On Public Interface</h1>
  *  [Parsing and Evaluation]
  *  [Tcl_Obj System]
  *  [Notifier]
  *  [Preservation]
  *  [list Object Type]
  *  [Allocation]
  *  [dict Object Type]
  *  [Channel System]
  *  [string Object Type]
  *  [numeric Object Types]
  *  [Panic]

<h1>Directly Depends On Private Interface of</h1>
  *  [list Object Type]
  *  [string Object Type]
  *  [Parsing and Evaluation]

<h1>Discussion</h1>

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