Difference between revisions of "Spec/Threading-Architecture"
From Apache OpenOffice Wiki
m (→Dependencies: Fixed dependencies.) |
(Removed "thread free".) |
||
Line 3: | Line 3: | ||
==OOo Threading Architecture== | ==OOo Threading Architecture== | ||
− | The OOo Threading Architecture leverages [[Spec/Threading Model|OOos]] respectively [[Uno/Spec/Threading Model|Unos]] threading model to | + | The OOo Threading Architecture leverages [[Spec/Threading Model|OOos]] respectively [[Uno/Spec/Threading Model|Unos]] threading model to implement [[Uno/Term/Thread Aware|thread-aware]] code where necessary only. |
===Principles=== | ===Principles=== | ||
Principles of the threading architecture are | Principles of the threading architecture are | ||
− | * all components, libraries and applications default to be [[Uno/Term/Thread Unsafe|thread unsafe]], with only a few well motivated exceptions (being [[Uno/Term/Thread Safe|thread safe]], [[Uno/Term/Thread Affine|thread affine]] | + | * all components, libraries and applications default to be [[Uno/Term/Thread Unsafe|thread-unsafe]], with only a few well motivated exceptions (being [[Uno/Term/Thread Safe|thread-safe]], [[Uno/Term/Thread Affine|thread-affine]], |
− | * all office code is specified to be [[Uno/Term/Thread Transparent|thread transparent]]. | + | * all office code is specified to be [[Uno/Term/Thread Transparent|thread-transparent]]. |
− | ===[[Uno/Term/Thread Safe|Thread Safe]]=== | + | ===[[Uno/Term/Thread Safe|Thread-Safe]]=== |
− | The following modules are specified to be [[Uno/Term/Thread Safe|thread safe]]: | + | The following modules are specified to be [[Uno/Term/Thread Safe|thread-safe]]: |
* [http://ucb.openoffice.org/source/browse/ucb/ucb ucb] | * [http://ucb.openoffice.org/source/browse/ucb/ucb ucb] | ||
* [http://ucb.openoffice.org/source/browse/ucb/ucbhelper ucbhelper] | * [http://ucb.openoffice.org/source/browse/ucb/ucbhelper ucbhelper] | ||
Line 17: | Line 17: | ||
* [http://framework.openoffice.org/source/browse/framework/desktop ?desktop?/pkgmagr] | * [http://framework.openoffice.org/source/browse/framework/desktop ?desktop?/pkgmagr] | ||
− | ===[[Uno/Term/Thread Affine|Thread Affine]]=== | + | ===[[Uno/Term/Thread Affine|Thread-Affine]]=== |
− | The following modules are specified to be [[Uno/Term/Thread Affine|thread affine]]: | + | The following modules are specified to be [[Uno/Term/Thread Affine|thread-affine]]: |
* [http://util.openoffice.org/source/browse/util/svtools svtools/DDE] | * [http://util.openoffice.org/source/browse/util/svtools svtools/DDE] | ||
* [http://gsl.openoffice.org/source/browse/gsl/dtrans dtrans/?clipboard?] | * [http://gsl.openoffice.org/source/browse/gsl/dtrans dtrans/?clipboard?] |
Revision as of 07:20, 3 August 2006
State: draft
Type: specification
Contents
OOo Threading Architecture
The OOo Threading Architecture leverages OOos respectively Unos threading model to implement thread-aware code where necessary only.
Principles
Principles of the threading architecture are
- all components, libraries and applications default to be thread-unsafe, with only a few well motivated exceptions (being thread-safe, thread-affine,
- all office code is specified to be thread-transparent.
Thread-Safe
The following modules are specified to be thread-safe:
- ucb
- ucbhelper
- configmgr
- ?desktop?/pkgmagr
Thread-Affine
The following modules are specified to be thread-affine: