Uno/Term/Thread Safe

From Apache OpenOffice Wiki
< Uno‎ | Term
Revision as of 08:44, 17 May 2006 by Kr (Talk | contribs)

Jump to: navigation, search
Thread Safe
Code is Thread Safe, if it can be called concurrently by multiple threads. This typically means, that it protects critical sections by locks.

In UNO, components need to be declared Thread Safe, if doing blocking I/O, so that the components system calls can be interrupted. Thread safe components may also be used to allow high concurrency, while avoiding the runtime overhead of external locking.

Personal tools