q3vm icon indicating copy to clipboard operation
q3vm copied to clipboard

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

Open jnz opened this issue 7 years ago • 0 comments

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

  • com_token
  • com_lines
  • com_tokenline

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

jnz avatar Sep 21 '18 19:09 jnz