[Mono-devel-list] Threading bug?

dietmar dietmar at ximian.com
Tue Mar 11 03:39:19 EST 2003


mono --workers n

should specify the number of worker threads. I guess the default is 1.

- Dietmar

On Tue, 2003-03-11 at 00:22, Torstensson, Patrik wrote:
> It's a bug but it's easy to fix. Must fixure out how many threads
> maximum the MS threadpool has.
> 
> Please log at is a bug with the test case.
> 
> Cheers,
>  Patrik
> 
> > -----Original Message-----
> > From: Simon Ask Ulsnes [mailto:simon at ulsnes.dk] 
> > Sent: Monday, March 10, 2003 10:06 PM
> > To: mono-devel-list at lists.ximian.com
> > Subject: Re: [Mono-devel-list] Threading bug?
> > 
> > 
> > The attached program generates the attached output on my machine.
> > As you can probably guess from the source, the output was 
> > supposed to look like this:
> > 
> > <OUTPUT>
> > <ctrl+c to stop>
> > Queueing new thread...
> > <subthread 1> Sleeping 10 seconds...
> > Queueing new thread...
> > <subthread 2> Sleeping 10 seconds...
> > Queueing new thread...
> > <subthread 3> Sleeping 10 seconds...
> > and so on...
> > </OUTPUT>
> > 
> > ...but it doesn't! As you can see in my output-file, the 
> > first thread is started and runs fine, then all the other 
> > threads are queued, but they don't actually run.
> > 
> > If it behaves the same way on your machines, I would 
> > characterize this as a bug in the Mono threading library...
> > 
> > Yours sincerely,
> > Simon Ask Ulsnes
> > 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list