| parrotcode: Parrot Interpreter Creation and Destruction | |
| Contents | C |

src/inter_create.c - Parrot Interpreter Creation and Destruction

Create or destroy a Parrot interpreter.c

static int is_env_var_set(const char *var)static void setup_default_compreg(Parrot_Interp interpreter)static void new_context_mem(Interp *, context_mem *ctx_mem)static void destroy_context(Interp *)static void create_initial_context(Interp *)void parrot_gc_context(Interp *)void Parrot_alloc_context(Interp *)void Parrot_set_context_threshold(Interp *, parrot_context_t *ctxp)void Parrot_free_context(Interp *, parrot_context_t *ctxp, int re_use)re_use is true,
this function is called by a return continuation invoke,
else from the destructur of a continuation.Parrot_Interp make_interpreter(Parrot_Interp parent, Interp_flags flags)void Parrot_destroy(Interp *interpreter)ATEXIT_DESTROY is defined.
Otherwise calls Parrot_really_destroy() with exit code 0.void Parrot_really_destroy(int exit_code, void *vinterp)exit_code is ignored.
include/parrot/interpreter.h, src/interpreter.c.
|
|
|