George George

George George

  • NA
  • 778
  • 0

Close of event

Jun 2 2008 8:25 AM

Hello everyone,


For ManualResetEvent and AutoResetEvent, I noticed some samples which does not call Close after using them.

1.

I think to be of good practices, we should call Close after using them -- the reason is both ManualResetEvent and AutoResetEvent wraps native resources and release immediately will make system have more capability to serve in the future?

2.

What native resources are wrapped?


thanks in advance,
George