Results 1 to 2 of 2

Thread: using some methode and an event is called

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Location
    Porto Alegre, RS
    Posts
    210

    using some methode and an event is called

    what happen if i am doing something and some object, like an socket connection call an dataArrival event?

    the app waits for the methode ends and call the event handler?
    or it stops the methode and call the handler??

    Thank you,
    Guilherme Costa

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    It will call the event but if you're running an sync proc like in sockets (unless you use async connections) your application will only be notified in the end. If you use multi threading or async connections it will be right in the moment you call the event
    \m/\m/

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