I have a windows form application written in .NET 4.0. Recently, during some tests, I noticed that there is some problem with the descriptors. The table below shows the results:

As you can see, the only type of type that is incremented is the event.
So my question is ... is it possible that the described problem is caused by the Windows forms application? I mean that I do not synchronize streams using AutoResetEvent or ManualResetEvent. I use streams, but what can be seen from the table above the number of thread handles seems to be good, so I assume that they are well controlled with the CLR?
Can I coat any third-party components that I also use in my application?
If I am unclear, I will try to answer your questions. Thanks for the help!
multithreading c # memory-leaks thread-synchronization
rwasik
source share