Jason, if you're still listening, I think you've put me on track to figuring
out what the problem might be, and it does probably involve threads
accessing a method in a form without invocation. That method in the
form--actually the application form--does not itself touch any of the form's
visual components, but still it shouldn't be being hit by outside threads. I
think that's my problem, and I'll be working to correct it today.
I still have a question for you. In several places in our application we
have cases where collections such as hash tables or queues are being
accessed raw by more than one thread without synchronization. I had thought
that so long as as collections like these were not being run through
for-next loop that multi-thread, unsynchronized, unprotected access was OK.
In other words, to add to or delete from collections such as these is OK
without thread synchronization. Is this wrong? And could I solve this
problem--if it is a problem--by placing a lock(this) {} around the methods
that access those collections?
Thanks,
Randy
"Jason Hales" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The .PDB can be deployed onto your users PC in the same folder as your
> release build.
>
> When you set the build to be a Release build you can also set Build |
> Generate Debugging Informaton to true to get it to create a debug file
> for your Release code (it's set to false by default). That way you'll
> get line numbers in your StackTrace.
>
> Note if you simply copy the PDB from your Debug build into your Release
> build folder they won't match and you'll not get the line numbers
>
> In terms of fixing the dual processor issue, I tidied up some poorly
> written multi-threading code which I'd inherited. That fixed it :-)
>
|