quakeforge/nq/include
Bill Currie 1a83fe21c1 [util] Add Sys_setjmp and Sys_longjmp
Host_Error and Host_EndGame use setjmp/longjmp to implement an exception
of sorts, but this messes with tracy's state even with cleanup
attributes. However, it turns out that those cleanup attributes are
exactly how gcc implements C++ destructors, and so the standard Unwind
api (part of libgcc) respects them (so long as -fexceptions is enabled
for C). Thus... replace longjmp with an implementation that uses Unwind
to unwind the stack and call the cleanup functions as needed. This is
actually important for more than just tracy as the cleanup attributed
vars can be thread locks.
2023-12-01 12:13:26 +09:00
..
cl_skin.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
client.h [nq] Add a cvar to control player shadows 2023-08-05 19:58:37 +09:00
game.h Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
host.h Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
Makemodule.am Fix some distcheck issues 2022-03-01 10:12:50 +09:00
protocol.h [nq] Move usercmd_t to protocol.h 2022-06-03 15:42:10 +09:00
server.h [util] Add Sys_setjmp and Sys_longjmp 2023-12-01 12:13:26 +09:00
sv_pr_cmds.h [gamecode] Pass registered data pointer to builtins 2022-02-14 12:28:38 +09:00
sv_progs.h Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00