Mutexes in AVStream

AVStream minidrivers synchronize access to objects by using mutexes and process control gates. For more information about process control gates, see Flow Control Gates in AVStream.

AVStream has three different mutexes, all of which are directly accessible to the minidriver:

Device Mutex in AVStream

Filter Control Mutex in AVStream

Processing Mutex in AVStream

Use the device mutex to synchronize hierarchy objects from device to filter. Use the filter control mutex to synchronize objects from filter to pin.

Several AVStream API functions require that particular mutexes be held. Relevant function reference pages state if a specific mutex should be held when calling that particular function.

Send comments about this topic to Microsoft