[Mono-list] Problem with downloading files in Threads

Sebastian Pölsterl marduk at k-d-w.org
Tue Dec 26 07:36:33 EST 2006


I'm trying to write a Downloader that downloads in that case 3 files.
Downloading is done in a thread while the main thread should print the

Unfortunatly, if I have 3 files that should be downloaded the last Thread
never terminates. Whereas, I download 1 or 2 files everything works fine.

I tested it with ThreadPools and Async Threads, but it's always the same

I can't see any sense in that behavior. I would be more than happy if
someboy could help me.

Sebastian Pölsterl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlme.cs
Type: text/x-csharp
Size: 4279 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20061226/ac3717f7/attachment-0001.bin 

More information about the Mono-list mailing list