report on the non-reliability of c_chains when threads are used

This commit is contained in:
Bill Currie 2002-09-21 03:51:50 +00:00
parent dd5cac488c
commit 35a14572be
2 changed files with 3 additions and 2 deletions

View file

@ -217,7 +217,7 @@ RecursiveLeafFlow (int leafnum, threaddata_t *thread, pstack_t *prevstack)
portal_t *p;
plane_t backplane;
winding_t *source, *target;
c_chains++;
leaf = &leafs[leafnum];

View file

@ -847,7 +847,8 @@ main (int argc, char **argv)
CalcVis ();
if (options.verbosity >= 0)
printf ("c_chains: %i\n", c_chains);
printf ("c_chains: %i%s\n", c_chains,
options.threads > 1 ? " (not reliable)" :"");
BSP_AddVisibility (bsp, visdata->str, visdata->size);
if (options.verbosity >= 0)