Name

ecl_process_env
— Per-thread environment

Function

cl_env_ptr ecl_process_env();

Description

ECL stores information about each thread on a dedicated structure, which is the process environment. A pointer to this structure can be retrieved using the function or macro above. This pointer can be used for a variety of tasks, such as defining special variable bindings, controlling interrupts, retrieving function output values, etc.