CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Deploying Windows Server 2008 with System Center
  • Remote Desktop Protocol Performance Improvements in Windows Server 2008 R2 and Windows 7
  • The Microsoft Dynamics CRM Security Model
  • SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Multithreading
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Multithreading Discuss multithreading issues and related topics.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old September 8th, 2009, 11:53 PM
    sum_gupt sum_gupt is offline
    Junior Member
     
    Join Date: Mar 2006
    Posts: 8
    sum_gupt is an unknown quantity at this point (<10)
    Exclamation Difference among Thread , BackgroundWorker , and calling a method through Delegate

    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.
    Reply With Quote
      #2    
    Old October 1st, 2009, 05:45 PM
    DreamShore DreamShore is offline
    Member
     
    Join Date: May 2008
    Posts: 295
    DreamShore will become famous soon enough (50+)
    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.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Multithreading


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 03:27 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.