Topic: To learn who created a flow
I use indirect dll in a multi-threaded mode. This dll creates the flows and does of them callback calls in my code. It would be desirable to learn, in what my flow the flow in dll has been created. Unique my idea - to intercept CreateThread/ExitThread and is independent pens to build a tree of flows and to analyze it in callback functions. Can be eat more a method?