What is the best way to run two methods at once?


i have run 2 methods should run simultaneously rapid retrieval of web pages. search engine , have method retrieve links method retrieve page content. want run these 2 operations simultaneously. how can achieve this? created 2 threads did not work executes 1 thread , waits end , not end until user aborts application. second thread not have end. best way of achieving this?

hi.

why multithreaded approach won't work?


if create multiple threads , start @ same time, implementation should untied.

http://msdn.microsoft.com/en-us/library/172d2hhw(v=vs.80).aspx


regards,
bubu
http://zsvipullo.blogspot.it

please mark answer if helped you, appreciate it.



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to Share webservice object to all user