jnz / q3vm

Q3VM - Single file (vm.c) bytecode virtual machine/interpreter for C-language input
GNU General Public License v2.0
830 stars 57 forks source link

DEBUG_VM build only: Quake 3 COM_Parse() function is using global variables #18

Open jnz opened 6 years ago

jnz commented 6 years ago

If compiled with the DEBUG_VM define, the COM_Parse() function is using some global variables to parse strings in vm.c:

This is probably not thread safe if several .map files are loaded at the same time in different threads.