Hi,

I'm writing threading application by VB .NET.

I have 4 threads running on my App. But I found some thread have been stopped by write debug message. From my observation the time duration that thread stop processing quite random.

I have no idea why this happen, what wrong with my thread application.

Thanks,
KPH

Re: Threading probem! by Jon

Jon
Wed Jun 30 05:19:02 CDT 2004

KPH <KPH@discussions.microsoft.com> wrote:
> I'm writing threading application by VB .NET.
>
> I have 4 threads running on my App. But I found some thread have been
> stopped by write debug message. From my observation the time duration
> that thread stop processing quite random.
>
> I have no idea why this happen, what wrong with my thread
> application.

Could you post a short but complete program which demonstrates the
problem?

See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too