STA
- STA
- Single-Threaded Apartment. A term used within a Component Object Model
technologies (COM), to indicate that each
thread operates within its own logical compartment. In STA, COM
guarantees that all accesses to thread local storage (TLS)
will occur on a single thread. Applications are still allowed multiple
threads, but each runs in (logical) isolation and access to global data
must be synchronized.
cf Multi-Threaded Apartment (MTA).
For more information see:
- www.idevresource.com/com/library/articles/aparts.asp - Article for new COM developers, providing information on apartments, single and multi threaded apartments.