Re: Setting (thread) priority of DirectShow Graphs/Filters ?
- From: "Alessandro Angeli [MVP::DS/MF]" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 24 May 2006 02:23:46 +0200
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#)?
I can't think of any function to get a thread's parent
thread and I think a thread does not keep a reference to its
parent so that threads in a process do not for a tree like
processes in the system.
However, you can hook CreateThread() and gather this
information yourself right after the thread is created, or
just set its priority, in which case you would do better to
also hook SetThreadPriority() to prevent some code outside
your control to change the priority at a later time.
--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// a dot angeli at psynet dot net
.
- 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: Help writing a new filter
- Next by Date: Re: Microsoft ActiveX Video Control (MsVidCtl) a viable option?
- 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
|