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#
  4. Hyper Threading or Multi processor issue

Hyper Threading or Multi processor issue

Scheduled Pinned Locked Moved C#
helpcsharpc++asp-nettutorial
4 Posts 3 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.
  • F Offline
    F Offline
    fregolo52
    wrote on last edited by
    #1

    Hello, I'm developing a application with .NET for the exe file et C++ 7.0 for a DLL. I have a multi threading application. It works on my dev computers (PIII or P4). But I start the application in an other computer (P4-HT), the application is launched but it "blocks" during initialisation. I think 2 threads run in the same time on 2 CPU cores. How to resolve this problem ? Can I force my application to run on only one core ? thanks Freg

    D M 2 Replies Last reply
    0
    • F fregolo52

      Hello, I'm developing a application with .NET for the exe file et C++ 7.0 for a DLL. I have a multi threading application. It works on my dev computers (PIII or P4). But I start the application in an other computer (P4-HT), the application is launched but it "blocks" during initialisation. I think 2 threads run in the same time on 2 CPU cores. How to resolve this problem ? Can I force my application to run on only one core ? thanks Freg

      D Offline
      D Offline
      Divyang Mithaiwala
      wrote on last edited by
      #2

      Hello Freg, Have you seen this. Regards, Divyang Mithaiwala.

      F 1 Reply Last reply
      0
      • F fregolo52

        Hello, I'm developing a application with .NET for the exe file et C++ 7.0 for a DLL. I have a multi threading application. It works on my dev computers (PIII or P4). But I start the application in an other computer (P4-HT), the application is launched but it "blocks" during initialisation. I think 2 threads run in the same time on 2 CPU cores. How to resolve this problem ? Can I force my application to run on only one core ? thanks Freg

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

        I think your application didn't have proper sync. on the thread. The problem may not be hitted in single CPU machine. It seemed to be a deadlock on the threads.

        1 Reply Last reply
        0
        • D Divyang Mithaiwala

          Hello Freg, Have you seen this. Regards, Divyang Mithaiwala.

          F Offline
          F Offline
          fregolo52
          wrote on last edited by
          #4

          Thank you, I'll see this. Freg

          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