quakeforge/libs/gamecode
Bill Currie 973ae0ad54 [gamecode] Add PR_Shutdown for tearing down a VM
This is meant for a "permanent" tear-down before freeing the memory
holding the VM state or at program shutdown. As a consequence, builtin
sub-systems registering resources are now required to pass a "destroy"
function pointer that will be called just before the memory holding
those resources is freed by the VM resource manager (ie, the manager
owns the resource memory block, but each subsystem is responsible for
cleaning up any resources held within that block).

This even enhances thread-safety in rua_obj (there are some problems
with cmd, cvar, and gib).
2022-05-12 19:58:18 +09:00
..
test [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
convert.py [gamecode] Add a fixme about using gcc's vec convert 2022-01-17 10:32:19 +09:00
hops.py [gamecode] Add tests for the hops instructions 2022-01-16 18:46:29 +09:00
Makemodule.am [gamecode] Clean up generated swizzle code 2022-04-01 02:14:05 +09:00
opcodes.py [gamecode] Add single-component float bitop instructions 2022-02-06 21:20:00 +09:00
pr_builtins.c [gamecode] Add PR_Shutdown for tearing down a VM 2022-05-12 19:58:18 +09:00
pr_debug.c [gamecode] Add PR_Shutdown for tearing down a VM 2022-05-12 19:58:18 +09:00
pr_edict.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
pr_exec.c [gamecode] Clean up progs data access 2022-04-29 16:59:15 +09:00
pr_load.c [gamecode] Add PR_Shutdown for tearing down a VM 2022-05-12 19:58:18 +09:00
pr_opcode.c [gamecode] Create macros for progs sizeof and alignof 2022-01-23 14:29:33 +09:00
pr_parse.c [hash] Rename the publicly visible hashlink_t to hashctx_t 2022-05-12 18:02:01 +09:00
pr_resolve.c [gamecode] Use an explicit size for the null page 2022-02-01 16:43:29 +09:00
pr_resource.c [gamecode] Add PR_Shutdown for tearing down a VM 2022-05-12 19:58:18 +09:00
pr_strings.c [gamecode] Add PR_Shutdown for tearing down a VM 2022-05-12 19:58:18 +09:00
pr_v6p_opcode.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
pr_zone.c [gamecode] Conform with libc malloc for pr zone 2021-09-26 12:03:44 +09:00
swizzle.py [simd] Use portable swizzles 2022-03-31 02:25:33 +09:00