title: Determine if a dll is being called by multiple threads from an application - Use ThreadId?
body: <p>I have created a static dll file to be used by a certain application. I wanted to know if the exported methods of that dll are being called by separate threads of that application or by a single thread. I am thinking that if I output the threadid of the thread that calls a method in the dll this might help me figure out if the function is being called by a single thread or multiple threads. Will this help ? Also how will I get the threadid of the thread that is calling the dll ?</p>