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. The Lounge
  3. registers question

registers question

Scheduled Pinned Locked Moved The Lounge
questionasp-nettutoriallounge
41 Posts 15 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.
  • H H Brydon

    OriginalGriff wrote:

    Erm...not quite. Each core is an "independent" processor which is part of the CPU - and two or more cores can be doing different things at the same time.

    OP asked in the context of a machine with one [single core?] CPU. ... not that we should be discussing this kind of thing in the Lounge.

    I'm retired. There's a nap for that... - Harvey

    J Offline
    J Offline
    Jeremy Falcon
    wrote on last edited by
    #29

    H.Brydon wrote:

    ... not that we should be discussing this kind of thing in the Lounge.

    Seeing that I have't been on CP in like, a decade, what happened to stuff like voting on posts?

    Jeremy Falcon

    P 1 Reply Last reply
    0
    • L Lost User

      harold aptroot wrote:

      So why is this even a question?

      Not everyone understands how a multi-tasking operating system works. Certainly plenty of "developers" in Q&A would seem not to.

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #30

      Richard MacCutchan wrote:

      "developers" in Q&A

      A rare beast...

      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      1 Reply Last reply
      0
      • J Jeremy Falcon

        H.Brydon wrote:

        ... not that we should be discussing this kind of thing in the Lounge.

        Seeing that I have't been on CP in like, a decade, what happened to stuff like voting on posts?

        Jeremy Falcon

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #31

        The voting toy was taken away from the children until they learn how to behave like grownups :D

        OriginalGriffO N J 3 Replies Last reply
        0
        • OriginalGriffO OriginalGriff

          Jeremy Falcon wrote:

          The thing to remember is the CPU can only do one thing at once...

          Erm...not quite. Each core is an "independent" processor which is part of the CPU - and two or more cores can be doing different things at the same time.

          Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

          R Offline
          R Offline
          Rob Philpott
          wrote on last edited by
          #32

          I think the term CPU is somewhat antiquated, from the days when you did have a central processing unit. Now we have lots of them and they are known as cores. In my mind CPU = Core, although I can see how it might not mean that to other people.

          Regards, Rob Philpott.

          H 1 Reply Last reply
          0
          • P Pete OHanlon

            The voting toy was taken away from the children until they learn how to behave like grownups :D

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #33

            So...it won't be coming back then? :laugh:

            Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            1 Reply Last reply
            0
            • P Pete OHanlon

              The voting toy was taken away from the children until they learn how to behave like grownups :D

              N Offline
              N Offline
              Nagy Vilmos
              wrote on last edited by
              #34

              There are no grown ups, just us wabbits! ;P

              1 Reply Last reply
              0
              • P Pete OHanlon

                The voting toy was taken away from the children until they learn how to behave like grownups :D

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #35

                Ah. Makes sense actually.

                Jeremy Falcon

                1 Reply Last reply
                0
                • E EbolaHost

                  Suppose we run two programs on a single-core processor First sets the EIP pointer to 2 (example)and the second one sets it to 1 How does the first program know it will continue from adress 2 and not 1 ? Thank you very much (random fact: Pink Floyd's wish you were here was written not for someone who died ,but for an ex member who went insane)

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #36

                  EbolaHost wrote:

                  How does the first program know it will continue from adress 2 and not 1 ?

                  It doesn't until the quantum state in collapsed by an observer. Marc

                  1 Reply Last reply
                  0
                  • P Pete OHanlon

                    Random random fact: While recording Wish You Were Here, the same former member wandered into the recording and none of the band recognised him.

                    E Offline
                    E Offline
                    EbolaHost
                    wrote on last edited by
                    #37

                    FALSE One of them did I think it was Waters He asked him what does he think of the album and he replied...well i dont exactly remember but it was something negative !

                    P 1 Reply Last reply
                    0
                    • Mike HankeyM Mike Hankey

                      EbolaHost wrote:

                      (random fact: Pink Floyd's wish you were here was written not for someone who died ,but for an ex member who went insane)

                      Syd Barrett[^] was the driving force and one of the original members of Pink Floyd. He released 2 solo albums; The Mapcap Laughs and Barrett but they didn't go very well. I have The Mapcap Laughs and it is a very strange album.

                      Along with Antimatter and Dark Matter they've discovered the existence of Doesn't Matter which appears to have no effect on the universe whatsoever! Rich Tennant 5th Wave

                      E Offline
                      E Offline
                      EbolaHost
                      wrote on last edited by
                      #38

                      No wonder why...he was nuts !

                      1 Reply Last reply
                      0
                      • E EbolaHost

                        FALSE One of them did I think it was Waters He asked him what does he think of the album and he replied...well i dont exactly remember but it was something negative !

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #39

                        Sorry to correct you - albeit slightly - but I was referring to the initial entry of Barrett. In a later interview, Richard Wright said: "One thing that really stands out in my mind, that I’ll never forget; I was going in to the the Shine On sessions. I went in the studio and I saw this guy sitting at the back of the studio, he was only as far away as you are from me. And I didn’t recognise him. I said, ‘Who’s that guy behind you?’ ‘That’s Syd.’ And I just cracked up, I couldn’t believe it… he had shaven all his hair off… I mean, his eyebrows, everything… he was jumping up and down brushing his teeth, it was awful. And, uh, I was in, I mean Roger was in tears, I think I was; we were both in tears. It was very shocking… seven years of no contact and then to walk in while we’re actually doing that particular track. I don’t know – coincidence, karma, fate, who knows? But it was very, very, very powerful.” Waters described the meeting as: “I had no idea who he was for a very long time.”

                        1 Reply Last reply
                        0
                        • R Rob Philpott

                          I think the term CPU is somewhat antiquated, from the days when you did have a central processing unit. Now we have lots of them and they are known as cores. In my mind CPU = Core, although I can see how it might not mean that to other people.

                          Regards, Rob Philpott.

                          H Offline
                          H Offline
                          H Brydon
                          wrote on last edited by
                          #40

                          Rob Philpott wrote:

                          I think the term CPU is somewhat antiquated, from the days when you did have a central processing unit. Now we have lots of them and they are known as cores.

                          In my observation, your usage of "core" isn't quite right. My understanding is that a machine can have multiple CPUs and a CPU can have multiple cores. What distinguishes a core from a CPU is use of common cache, and ability to synchronize a subset of memory operations. A room full of compute servers is not a single CPU. In 2007, I purchased a machine that contained 2 dual core CPUs. To be fair, this is still vague and the terminology needs some polishing.

                          I'm retired. There's a nap for that... - Harvey

                          R 1 Reply Last reply
                          0
                          • H H Brydon

                            Rob Philpott wrote:

                            I think the term CPU is somewhat antiquated, from the days when you did have a central processing unit. Now we have lots of them and they are known as cores.

                            In my observation, your usage of "core" isn't quite right. My understanding is that a machine can have multiple CPUs and a CPU can have multiple cores. What distinguishes a core from a CPU is use of common cache, and ability to synchronize a subset of memory operations. A room full of compute servers is not a single CPU. In 2007, I purchased a machine that contained 2 dual core CPUs. To be fair, this is still vague and the terminology needs some polishing.

                            I'm retired. There's a nap for that... - Harvey

                            R Offline
                            R Offline
                            Rob Philpott
                            wrote on last edited by
                            #41

                            I wouldn't argue with that, but I think it hangs on interpretation. I tend not to use the term CPU any more, rather just 'processor'. 2 Processors with 4 cores each. For me, having two CPUs doesn't sound right as they can't both be central (arguably...) and I think the term belongs in the era where there was just one 'central' processor. I think the problem arises because people use them differently. A CPU could be a collection of processors (chips), a single processor (chip) or a core (sub-chip). What's the CPU in one of those mega-computers with thousands of cores, I wonder...

                            Regards, Rob Philpott.

                            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