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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. End of thread

End of thread

Scheduled Pinned Locked Moved C#
algorithmsquestion
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.
  • P Offline
    P Offline
    Parshant Verma
    wrote on last edited by
    #1

    Hi At click event of button i call a thread. in thread i am searching file(i.e.recursive function). How can i know that search has ended.

    P 1 Reply Last reply
    0
    • P Parshant Verma

      Hi At click event of button i call a thread. in thread i am searching file(i.e.recursive function). How can i know that search has ended.

      P Offline
      P Offline
      Paul Brower
      wrote on last edited by
      #2

      Handle the callback.

      P 1 Reply Last reply
      0
      • P Paul Brower

        Handle the callback.

        P Offline
        P Offline
        Parshant Verma
        wrote on last edited by
        #3

        May u explain this ,how to handle

        A 1 Reply Last reply
        0
        • P Parshant Verma

          May u explain this ,how to handle

          A Offline
          A Offline
          asator
          wrote on last edited by
          #4

          at the end of the thread give a callback (or/and event) that will alert the main thread that the serach thread has finished ;)

          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