Uno/Term/Thread Safe

From Apache OpenOffice Wiki
< Uno‎ | Term
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Thread Safe
Code is thread-safe, if it can safely be called concurrently by multiple threads. This typically means, that it protects critical sections by locks. Thread-safe code is thread-aware. Wikipedia has a more in-deep article about thread safety.

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