--- In [email protected], "brucexs" <bswit...@...> wrote:
>
> -o.
> > 
> > Yeah, it's gotta be that.  Keep staring at code tyring to see how it could 
> > be happening, so far )obviously) without success.
> 
> 
> It would be great to know why it fails consistently on some people's machines 
> but works fine on ours.  But I don't know how to do that.
> 
> What about debug calls right at various points in worker thread shutdown 
> (.e.g called to clean up, completed cleanup and exiting) and then in dll 
> shutdown to see if order of calls varies on different machines?

BTW, would probably want to avoid doing actual I/O since it may screw up 
ordering.  Maybe set a static vector vector 
nextwas[global_index++]=icode
where icode varies depending on point in code being traced.  Could use 
interlocked increment for global_index to be safe.  Then output nextwas just 
before dll exit.




>


Reply via email to