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. Cross Thread Calls

Cross Thread Calls

Scheduled Pinned Locked Moved C#
question
3 Posts 2 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.
  • M Offline
    M Offline
    MicealG
    wrote on last edited by
    #1

    This may be a silly/stupid question if so I apologise. I have a class that handles dynamic changes of form components i.e. creation, deletion and alteration the class also handles events raised by components. My question is; is it okay to make safe thread calls to components (using delegates) even if the component(s) are already being accessed in a thread safe way?

    Freedom is the right to say that 2+2=5 if this is so everything else will follow.

    P 1 Reply Last reply
    0
    • M MicealG

      This may be a silly/stupid question if so I apologise. I have a class that handles dynamic changes of form components i.e. creation, deletion and alteration the class also handles events raised by components. My question is; is it okay to make safe thread calls to components (using delegates) even if the component(s) are already being accessed in a thread safe way?

      Freedom is the right to say that 2+2=5 if this is so everything else will follow.

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

      Yes. It should be OK.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      M 1 Reply Last reply
      0
      • P Pete OHanlon

        Yes. It should be OK.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

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

        Hey Pete thanks very much for your response. Much appreciated. Have a good one.

        When the game is over the Pawn and the King go into the same box.

        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