Re: Setting (thread) priority of DirectShow Graphs/Filters ?
- From: "The March Hare [MVP]" <phil@xxxxxxxxx>
- Date: Tue, 23 May 2006 16:33:33 -0600
On 23 May 2006 15:25:36 -0700, ziphnor@xxxxxxxxx wrote:
Im not completely up to date on multi-threading, but isnt there some
way to identify which thread started a given thread(in either C++ or
C#)? With that information it would be possible to enumerate and id the
relevant threads, by first id'ing the initial streaming thread as the
most recent thread created by the application thread, and then looking
to see what was created by the streaming thread, etc, until all threads
involved in the filter have been found.
Not sure, but, IIRC, the technique that has been mentioned when this has
come up in the past is to:
1. Enumerate the threads in the app.
2. Build and start the graph.
3. Enumerate the threads in the app again and the new threads are likely
to be those used by the graph.
--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution
.
- References:
- Setting (thread) priority of DirectShow Graphs/Filters ?
- From: ziphnor
- Re: Setting (thread) priority of DirectShow Graphs/Filters ?
- From: ziphnor
- Re: Setting (thread) priority of DirectShow Graphs/Filters ?
- From: Jeremy Noring
- Re: Setting (thread) priority of DirectShow Graphs/Filters ?
- From: ziphnor
- Setting (thread) priority of DirectShow Graphs/Filters ?
- Prev by Date: Re: Setting (thread) priority of DirectShow Graphs/Filters ?
- Next by Date: Re: Help writing a new filter
- Previous by thread: Re: Setting (thread) priority of DirectShow Graphs/Filters ?
- Next by thread: Re: Setting (thread) priority of DirectShow Graphs/Filters ?
- Index(es):
Relevant Pages
|