Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to know that thread is ended.

Status
Not open for further replies.

majkinetor

Programmer
Feb 21, 2006
88
RS
I have thread I wont to execute, but I also need calling process to be informed when execution is over.

I know that thread function should use delegates.

Does anybody have any documentation, example or reference ?


Thank you.
 

penny.gif
penny.gif

The answer to getting answered -- faq855-2992
 
I know how to search google, link9

I asked for an article that you can advise as good and pedagogic.
 
I've emboldened an interesting word in the actual request for assistance portion of your original post

majkinetor said:
Does anybody have any documentation, example or reference ?

[vampire][bat]
 
You could use an event and/or addhandler. events use delegates in the background somewhere in the deep dungeons of the clr. An yes link9 gave you exactly what you asked for.



Christiaan Baes
Belgium

"My new site" - Me
 
>>I've emboldened an interesting word in the actual request >>for assistance portion of your original post

>>An yes link9 gave you exactly what you asked for.

bah
 
JurkMonkey - yes, at least in the UK - it means "made bold" (although normally in the sense of courage [wink] )


chrissie, isn't that more or less what I said (or at least implied)? [smile]


majkinetor, if link9's reply doesn't give you what you need, then I really don't know what more any one else could provide.

[vampire][bat]
 
Just relax and continue your daily procedures.

You will not get google searches from me as an answer, I find that inpolite.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top