Hi Kavitha,
The .Net framework SDK has samples on using threading. If you have the SDK
installed check under Samples for the Threading topics.
If you don't have the SDK you can get it here:
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/netdevfram
ework.asp
For more information on the System.Threading namespace check:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfSystemThreading.asp?frame=true
At the most basic, you can start threading a function like this:
ThreadStart myThreadDelegate = new ThreadStart(myClass.MyFunction);
Thread myThread = new Thread(myThreadDelegate);
myThread.Start();
I hope that points you in the right direction.
Thanks,
David [MS-SDK]
-Please do not send email directly to this alias. This alias is for
newsgroup purposes only
-This posting is provided ?AS IS? with no warranties, and confers no rights.
-To provide additional feedback about your community experience please send
e-mail to: sdkcomm@microsoft.com
--------------------
>>From: kavitha N via .NET 247 <anonymous@dotnet247.com>
>>X-Newsreader: AspNNTP 1.50 (Matthew Reynolds Consulting)
[quoted text clipped - 8 lines]
>>Lines: 1
>>Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
2.phx.gbl
>>Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework.sdk:10360
>>X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
>>
>>Hi
>>I have written a program which receives mails from server using POP#. it's downloading sequentially. now i want to use the multithreading in this
regard where i can create threads for each and every mail...and download
those mails simaltaneously.
>>if u have any idea please help me out.
>>
[quoted text clipped - 4 lines]
>>
>><Id>y8r/52uvgEOQvyNt96emuw==</Id>