Next: 2.11.11 threadsdict Up: 2.11 Dictionary reference Previous: 2.11.9 systemdict Contents Index

##
2.11.10 threaddict

Each thread has its own threaddict, which is not shared with any other threads. threaddict is meant to be used for thread-specific definitions that would otherwise go in systemdict.

Table 2.11: threaddict summary
Input(s) Op/Proc/Var Output(s) | Description
- threaddict dict | Get threaddict.
- userdict dict | Get userdict.
- currenterror dict | Get currenterror.
- errordict dict | Get errordict.

- currenterror dict:
  Input(s):
    None.
  Output(s):
    dict:
      The currenterror dictionary. See Section 2.11.1 for details on currenterror.
  Error(s):
    None.
  Description:
    Get currenterror.
  Example(s):

        onyx:0> currenterror 0 sprint
        -dict-
        onyx:0>

- errordict dict:
  Input(s):
    None.
  Output(s):
    dict:
      The errordict dictionary. See Section 2.11.3 for details on errordict.
  Error(s):
    None.
  Description:
    Get errordict.
  Example(s):

        onyx:0> errordict 0 sprint
        -dict-
        onyx:0>

- threaddict dict:
  Input(s):
    None.
  Output(s):
    dict:
      The threaddict dictionary.
  Error(s):
    None.
  Description:
    Get threaddict.
  Example(s):

        onyx:0> threaddict 0 sprint
        -dict-
        onyx:0>

- userdict dict:
  Input(s):
    None.
  Output(s):
    dict:
      The userdict dictionary. See Section 2.11.12 for details on userdict.
  Error(s):
    None.
  Description:
    Get userdict.
  Example(s):

        onyx:0> userdict 1 sprint
        <>
        onyx:0>

Next: 2.11.11 threadsdict Up: 2.11 Dictionary reference Previous: 2.11.9 systemdict Contents Index