COM中与UI对象的是套间线程(apartment thread),它的主函数中包含消息循环,与辅助线程对应的是自由线程(free thread),它的主函数中不包含消息循环。
基于24个网页-相关网页
thread apartment 线程单元
Thread Apartment Context 线程套间上下文
Thread Neutral Apartment 线程中立单元
Single Thread Apartment 单线程套间
multi thread apartment 多线程套间
Specifies that the object can use either apartment or free threading, depending from which kind of a thread it is created.
指定对象可使用单元线程或自由线程,具体取决于创建它的线程类型。
Equivalent to single thread apartment.
等效于单线程单元。
The most probable cause is that a single-threaded apartment (STA) thread is not pumping messages.
原因很可能是单线程单元 (STA) 线程不发送消息。
应用推荐