Thread Usage (Windows Embedded CE 6.0)
1/6/2010
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.