Re: Thread safety of events

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx> schrieb
On Tue, 10 Jul 2007 16:49:27 -0700, Armin Zingler
<az.nospam@xxxxxxxxxx> wrote:

> > O2 doesn't "catch" events at all.
>
> No, it does. I wouldn't say it if it didn't. "Catch" is short for
> "contains a procedure that is the event handler of an event of" -
> I thought, this is a common term.

In .NET, "catch" is typically used for exceptions, while "handles"
is typically used for events.

While I might find less point in quibbling over the semantics than
John, if we're going to argue about common usage, John's point is
correct. "Catch" is not at all a common term used to describe event
handling.

I wrote "catch an event", so what do you think I am referring to? An event or an exception? Mind the context. Too unambigious to misunderstand.


Armin

.