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. .NET (Core and Framework)
  4. MultiThread on Single Core Processor (CPU)

MultiThread on Single Core Processor (CPU)

Scheduled Pinned Locked Moved .NET (Core and Framework)
asp-netquestion
9 Posts 5 Posters 4 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.
  • D Offline
    D Offline
    dataminers
    wrote on last edited by
    #1

    Is it possible to run multi-threads on a single-core processor? Best Regards...

    D L D S 4 Replies Last reply
    0
    • D dataminers

      Is it possible to run multi-threads on a single-core processor? Best Regards...

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      Yes, you can spawn multiple threads on single core system. Processor with swap between threads based on priority and that will give an illusion of multithreaded processing.

      "It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[^]

      D 1 Reply Last reply
      0
      • D dataminers

        Is it possible to run multi-threads on a single-core processor? Best Regards...

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Yes. Multitasking - Win32 apps | Microsoft Docs[^]

        Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

        1 Reply Last reply
        0
        • D dataminers

          Is it possible to run multi-threads on a single-core processor? Best Regards...

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Yes. Under Windows, it's been that way since the dawn of Windows 2.1, back in, what, 1988-ish? Today, you can just open Task Manager, click on the Performance tab, and the CPU tab on the left. See the "Threads" number? See the "Core" and "Logical processors" numbers? How else are you going to get thousands of threads running on so few processors?

          Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
          Dave Kreskowiak

          L 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Yes. Under Windows, it's been that way since the dawn of Windows 2.1, back in, what, 1988-ish? Today, you can just open Task Manager, click on the Performance tab, and the CPU tab on the left. See the "Threads" number? See the "Core" and "Logical processors" numbers? How else are you going to get thousands of threads running on so few processors?

            Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
            Dave Kreskowiak

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            No one I know had a quad-core i386 :D Still, didn't want to be that blunt.

            Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

            D 1 Reply Last reply
            0
            • L Lost User

              No one I know had a quad-core i386 :D Still, didn't want to be that blunt.

              Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              :laugh: Peasant! I can't remember the first time I laid hands on a multiple CPU machine, but it wasn't until the mid 90's at a minimum. Go Windows NT 3.x!

              Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
              Dave Kreskowiak

              L 1 Reply Last reply
              0
              • D Dave Kreskowiak

                :laugh: Peasant! I can't remember the first time I laid hands on a multiple CPU machine, but it wasn't until the mid 90's at a minimum. Go Windows NT 3.x!

                Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
                Dave Kreskowiak

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                :laugh: :-\

                Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                1 Reply Last reply
                0
                • D dan sh

                  Yes, you can spawn multiple threads on single core system. Processor with swap between threads based on priority and that will give an illusion of multithreaded processing.

                  "It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[^]

                  D Offline
                  D Offline
                  dataminers
                  wrote on last edited by
                  #8

                  many thanks...

                  1 Reply Last reply
                  0
                  • D dataminers

                    Is it possible to run multi-threads on a single-core processor? Best Regards...

                    S Offline
                    S Offline
                    Sam Hobbs
                    wrote on last edited by
                    #9

                    See [OS/360 and successors \- Wikipedia](https://en.wikipedia.org/wiki/OS/360\_and\_successors#MVT). There were processors and operating systems half a century ago that supported multiple tasks (threads). The idea was that many things, especially I/O, took time and if only one task executes then the processor is idle for a long period of time. Back then disk drives and tape drives were very slow.

                    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