| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Multithreading Discuss multithreading issues and related topics. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello Friends,
Can anybody describe the the difference among 1> When we call a method through System.Threading.Thread 2> When we call a method through BackgroundWorker 3> When we call a method through defining a delegate( i.e. through BeginInvoke) Thanks in Advance for your Help. |
|
#2
|
|||
|
|||
|
Re: Difference among Thread , BackgroundWorker , and calling a method through Delegat
Thread is something most basic here. Just a seperate workflow.
A worker is just a complex thread (or a group of such threads). It waits there for your tasks. Instead of executes a task and terminates. delegate... it doesn't belongs here. You call a delegate is nothing really more than call a method.
__________________
No emotions. Your English can't afford it. Just try to be of help, ignore everything else. |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|