Share via


GWES Considerations (Windows Embedded CE 6.0)

1/6/2010

Making Graphics, Windowing, and Events Subsystem (GWES) API calls in the thread that requires a real-time response can affect real-time performance negatively. GWES provides the functionality that is needed to display windows, draw objects, and enable notifications. However, this functionality has no guaranteed timeout. Because GWES utilizes a single critical section to protect access to its internal data structures, a thread can be blocked for an unbounded length of time waiting for another thread to complete an operation.

Using SetTimer as a real-time timer can also decrease performance. SetTimer is a timer that is based on Windows Embedded CE message queues and has no guarantee for signaling time.

Note

GWES can also decrease performance through its use of display drivers. For more information, see Display Drivers.

See Also

Concepts

Real-Time Performance Considerations