CBaseAllocator::NotifySample (Windows Embedded CE 6.0)
1/6/2010
Notifies a waiting thread that a sample is available on the free list.
Syntax
void NotifySample(void);
Parameters
None.
Return Value
None.
Remarks
If m_lWaiting has been incremented (is not zero), this indicates a thread is waiting.
This member function checks for this condition and calls the Win32 ReleaseSemaphore function with the semaphore value m_hSem to activate any waiting thread.
It also sets m_lWaiting back to zero.
This member function is called from CBaseAllocator::ReleaseBuffer when putting a sample back on the free list and from CBaseAllocator::Decommit when decommitting the allocator (so that waiting threads can be denied).
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |