Search code examples
multithreadingvisual-studio-2010comvisual-studio-debugging

Visual Studio 2010 Unknown Threads in COM Project


I have two COM projects that I built in VS-2010 and in the Debugger I can see some extra threads. Can someone tell me what Win32 Thread and RPC Callback Thread mean and where I can find information about their details. I attached some pictures from the Threads window where you can see the Call Stack, too.

Unknown Threads in Apartment Threading project

Unknown Threads in Free Threading project


Solution

  • I agree with Hans Passant's suggestion, these threads would be related to the Windows. Like the RPC Callback Thread in your screen shot, my understanding it was used for the inter-process communication especially for COM+ (DCOM).

    Reference: What is an RPC Callback Thread?