By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,077 Members | 961 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,077 IT Pros & Developers. It's quick & easy.

Events under C# and .NET

P: n/a
Could someone recommend an indepth book(s) or set of articles on Events,
Threading and Delegates under C#?

We have run into a problem in which when an event was subscribed in code
that the program never returned from the event subscription. No errors were
thrown but the program just hung there. It was resolved by another member of
the team by moving the location of a System.Threading.Monitor class. This
solved the problem but I would like to find out more about the subject of
events, delegates and threads; and how to properly handle them.

Any suggestions would be appreciated.

--
John Olbert

Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On the topic of delegates, here are just a few articles:
http://www.programmersheaven.com/art...sal/events.htm

http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/csref/html/vcwlkdelegatestutorial.asp

http://www.dotnetspider.com/Question9576.aspx

On the topic of threads:
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/csref/html/vcwlkThreadingTutorial.asp

http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpref/html/frlrfSystemThreadingThreadClassTopic.asp

http://www.codeguru.com/Csharp/Cshar...ax/article.php
/c5851/

-----Original Message-----
Could someone recommend an indepth book(s) or set of articles on Events,Threading and Delegates under C#?

We have run into a problem in which when an event was subscribed in codethat the program never returned from the event subscription. No errors werethrown but the program just hung there. It was resolved by another member ofthe team by moving the location of a System.Threading.Monitor class. Thissolved the problem but I would like to find out more about the subject ofevents, delegates and threads; and how to properly handle them.
Any suggestions would be appreciated.

--
John Olbert

.

Nov 16 '05 #2

P: n/a
John Olbert <so*****@snet.net> wrote:
Could someone recommend an indepth book(s) or set of articles on Events,
Threading and Delegates under C#?

We have run into a problem in which when an event was subscribed in code
that the program never returned from the event subscription. No errors were
thrown but the program just hung there. It was resolved by another member of
the team by moving the location of a System.Threading.Monitor class. This
solved the problem but I would like to find out more about the subject of
events, delegates and threads; and how to properly handle them.


My threading tutorial is at
http://www.pobox.com/~skeet/csharp/threads

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.