Results 1 to 3 of 3

Thread: Handlers and threads

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325

    Handlers and threads

    When an event is raised, the handler gets called. I'd like to know if the handler code runs in a separate thread.

    thx,
    Xmas.
    Learn, this is the Keyword...

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    It runs on the same thread. You can code it to run on a different thread.
    Dont gain the world and lose your soul

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325
    Just for precision, it means that, for example, code executed when an event raised from Form1 will run on the same thread of Form1? This means that 2 events raised from Form1 cannot run their code in the same time, isn't it?

    Thx,
    Xmas
    Learn, this is the Keyword...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width