Skip to content
Tcl Source Code Changes To Background Exceptions
Login

Changes To Background Exceptions

Initial version of "Background Exceptions"








































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<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.