NAME ^

src/inter_create.c - Parrot Interpreter Creation and Destruction

DESCRIPTION ^

Create or destroy a Parrot interpreter

Functions ^

static int is_env_var_set

Checks whether the specified environment variable is set.

static void setup_default_compreg

Setup default compiler for PASM.

Parrot_Interp make_interpreter

Create the Parrot interpreter. Allocate memory and clear the registers.

void Parrot_destroy

Does nothing if ATEXIT_DESTROY is defined. Otherwise calls Parrot_really_destroy() with exit code 0.

This function is not currently used.

void Parrot_really_destroy

Waits for any threads to complete, then frees all allocated memory, and closes any open file handles, etc.

Note that exit_code is ignored.

SEE ALSO ^

include/parrot/interpreter.h, src/interpreter.c.


parrot