Difference between revisions of "Spec/Threading-Architecture"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Added category.)
(Add some prosa.)
Line 1: Line 1:
−
State: draft
+
version: {{REVISIONID}} <br>
 +
State:   draft         <br>
 +
type:    specification  <br>
  
−
The Basic OOo threading architecture defines all OOo components and applications to default to be thread unsafe, with only a few well motivated exceptions for thread safeness and thread affinity.
+
== OOo Threading Architecture ==
  
−
The following modules are declared to be thread safe:
+
; Feature: The OOo Threading Architecture leverages [[Uno/Spec/Threading Model|Unos Threading Model]] to only implement [[Uno/Spec/Thread Safe|Thread Safe]] code where necessary, to achieve a Basic Threading Architecture.
−
* ucb
+
: All components, libraries and applications default to be thread unsafe, with only a few well motivated exceptions, which are specified as thread safe respectively as thread affine.
−
* ucbhelper
+
: <br>
−
* io/acceptor
+
: The following modules are specified to be [[Uno/Spec/Thread Safe|Thread Safe]]:
−
* configmgr
+
:* [http://ucb.openoffice.org/source/browse/ucb/ucb ucb]
−
* ?desktop?/pkgmagr
+
:* [http://ucb.openoffice.org/source/browse/ucb/ucbhelper ucbhelper]
 +
:* [http://util.openoffice.org/source/browse/util/io io/acceptor]
 +
:* configmgr
 +
:* [http://framework.openoffice.org/source/browse/framework/desktop ?desktop?/pkgmagr]
 +
: <br>
 +
: The following modules are specified to be [[Uno/Spec/Thread Affine|Thread Affine]]:
 +
:* ?tools?/DDE
 +
:* [http://gsl.openoffice.org/source/browse/gsl/dtrans dtrans/?clipboard?]
 +
:* [http://gsl.openoffice.org/source/browse/gsl/dtrans dtrans/?Drag&Drop?]
 +
: <br>
 +
: Graphical overview:<br>
 +
: [[Image:Spec_Architecture_Threading_Basic.jpg]]
  
−
The following modules are declared to be thread affine:
+
; Rationale:
−
* ?tools?/DDE
 
−
* dtrans/?clipboard?
 
−
* dtrans/?Drag&Drop?
 
  
−
Which leads to the following graphical overview:<br>
+
; Dependencies:
−
[[Image:Spec_Architecture_Threading_Basic.jpg]]
+
:* [[Uno/Effort/Creating the Uno Threading_Framework]]
 +
:* [[Effort/Making VCL Thread Transparent]]
  
 
[[Category:Spec:Architecture:Threading]]
 
[[Category:Spec:Architecture:Threading]]

Revision as of 12:03, 3 May 2006

version: 9468
State: draft
type: specification

OOo Threading Architecture

Feature
The OOo Threading Architecture leverages Unos Threading Model to only implement Thread Safe code where necessary, to achieve a Basic Threading Architecture.
All components, libraries and applications default to be thread unsafe, with only a few well motivated exceptions, which are specified as thread safe respectively as thread affine.

The following modules are specified to be Thread Safe:

The following modules are specified to be Thread Affine:

Graphical overview:
Spec Architecture Threading Basic.jpg
Rationale
Dependencies
Personal tools