Thread Usage
The filter graph manager runs on its own thread. This thread performs operations such as adding filters to the graph, connecting pins, and changing the graph state between running, paused, and stopped.
Filters also create threads. A push-source filter might create a thread for delivering data. A pull source, such as a file reader, typically involves several threads:
- In the source filter, a thread for reading the data.
- In the parser filter, a thread that requests data from the source filter.
- For each output pin on the parser filter, a thread that queues the data and delivers it to the connected input pin.
However, a given filter might follow some other design.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.