
Next: Subprocesses in Embedded MzScheme
Up: Threads
Previous: Threads
While some configuration properties are attached to threads --
such as the thread's weight and original ports -- most configuration
properities are attched to global environments. For example, the
current input port is a property of a global environment, not of a
thread.
Envionrment-based configuration information is stored in a
Scheme_Config record. For any environment, scheme_env_config
returns the record for the environment. Primitive procedures access
the current configuration through the current environment
( scheme_current_env).
- enable_break --
This flag enables break-checking.
- stdin_port, stdout_port, and stderr_port --
These are the current input and output ports. The values for
the current thread's environment (not the current environment!) are
available as scheme_stdin_port, scheme_stdout_port,
and scheme_stderr_port.
- can_read_graph -- Stores the state of read-accept-graph.
- can_read_box -- Stores the state of read-accept-box.
- can_read_compiled -- Stores the state of read-accept-compiled.
- can_read_type_symbol -- Stores the state of read-accept-type-symbol.
- print_graph -- Stores the state of print-graph.
- print_box -- Stores the state of print-box.
- print_struct -- Stores the state of print-struct.
- error_print_width -- Stores the state of error-print-width.
PLT