message-pumping

Tag

Cards List
#message-pumping

Why do you say that a COM STA thread must pump messages if I see sample code creating STA threads and not pumping messages?

The Old New Thing (Raymond Chen) · 2026-05-22 Cached

Raymond Chen explains that COM STA threads are required to pump messages only when idle; code that is always busy doesn't need an explicit message loop, but COM still creates a hidden window that requires pumping when the thread becomes idle to avoid jamming window broadcasts.

0 favorites 0 likes
← Back to home

Submit Feedback