Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. What is Thread?

What is Thread?

Scheduled Pinned Locked Moved C / C++ / MFC
question
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cmania
    wrote on last edited by
    #1

    Hi Can I viosualise Thread as

    1. Multi-Tasking within a Process.
    2. Some processing that is to/can be done OUT-OF-SEQUENCE inside a Process and is LIGHT-WEIGHTED is coded as thread.

    That is what I all know about threads! Hope to get some clear and enough info on it Bye

    pitchu

    C M S 3 Replies Last reply
    0
    • C Cmania

      Hi Can I viosualise Thread as

      1. Multi-Tasking within a Process.
      2. Some processing that is to/can be done OUT-OF-SEQUENCE inside a Process and is LIGHT-WEIGHTED is coded as thread.

      That is what I all know about threads! Hope to get some clear and enough info on it Bye

      pitchu

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      A thread doesn't have to be light weight. Every app has at least one thread.

      Christian Graus - C++ MVP

      1 Reply Last reply
      0
      • C Cmania

        Hi Can I viosualise Thread as

        1. Multi-Tasking within a Process.
        2. Some processing that is to/can be done OUT-OF-SEQUENCE inside a Process and is LIGHT-WEIGHTED is coded as thread.

        That is what I all know about threads! Hope to get some clear and enough info on it Bye

        pitchu

        M Offline
        M Offline
        Monty2
        wrote on last edited by
        #3

        wasim ahmad bhat wrote:

        That is what I all know about threads!

        I suggest you get a good book or read a good article on threads, cause there is so much more to threads than those two lines.


        I can only please one person a day... today is not your day

        C 1 Reply Last reply
        0
        • M Monty2

          wasim ahmad bhat wrote:

          That is what I all know about threads!

          I suggest you get a good book or read a good article on threads, cause there is so much more to threads than those two lines.


          I can only please one person a day... today is not your day

          C Offline
          C Offline
          Cmania
          wrote on last edited by
          #4

          Thnks But i mean is it correct wat i hav posted

          pitchu

          H 1 Reply Last reply
          0
          • C Cmania

            Thnks But i mean is it correct wat i hav posted

            pitchu

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            I think if you see articles on the codeproject about Thread its helpful for you


            WhiteSky


            1 Reply Last reply
            0
            • C Cmania

              Hi Can I viosualise Thread as

              1. Multi-Tasking within a Process.
              2. Some processing that is to/can be done OUT-OF-SEQUENCE inside a Process and is LIGHT-WEIGHTED is coded as thread.

              That is what I all know about threads! Hope to get some clear and enough info on it Bye

              pitchu

              S Offline
              S Offline
              switang
              wrote on last edited by
              #6

              In the simplest of terms: A process that shares heap space with its parent process, but has a separate stack space. Thus, it can share memory (heap) and still run separately (stack).

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups