Do I know how many ways I use the managed thread (including Threadpool) is there any way to find out?
When I get the unmanaged thread count through GetProcess, I have a crazy number (21 in the very beginning)
It is not the way it works, any thread can execute managed code in a managed program, which was originally started as unmanaged thread. Which is most, the main thread and any Threadpool thread start to execute completely unmanaged code. This is in managed code, however the type of gateway provided by Marshall. GETDelegateForFunctionPointer ()
Seeing dozens (otherwise inactive) threads is not uncommon. They are generally threaded threads and threads that have been started by the COM server. NET You are missing the required plumbing to use the thread on those bags. Managed thread It's deliberate, a logical Net thread is not a physical operating system thread. Although there is no host in the present use, where this is not the case.
You have to avoid asking questions.
Comments
Post a Comment