mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
585b33c111
After a lot of thought, I have come to the conclusion that the weird crash the other day was caused by a race while the command ring buffer had just been emptied: the command submission code opened up space for writing, threads switched, and command processing saw the available data and pounced on it before the submit code could write valid data. Thus include the while header in the lock, and move the loop-end release outside the lock. It may be a little confusing, but it seems to work. |
||
---|---|---|
.. | ||
cl_menu | ||
game | ||
gui | ||
include | ||
lib | ||
qwaq | ||
scheme | ||
Doxyfile.in | ||
Makefile.am |