Difference between revisions of "Effort/Revise OOo Multi-Threading"

From Apache OpenOffice Wiki
Jump to: navigation, search
(moved thread architecture goals document into the wiki.)
(Tasks)
 
(60 intermediate revisions by the same user not shown)
Line 1: Line 1:
[mailto:Kay.Ramme@sun.com], [mailto:Kai.Sommerfeld@sun.com]
+
Type: [[Uno/Term/Effort|Effort]] Status: suspended  Owner: [[KR|Kay Ramme]]
  
Status: in progress
+
The OOo Threading Effort attempts to clean-up OOos [[Uno/Term/Threading-Model|threading-model]] (how to use threads) and to implement a [[Spec/Threading-Architecture|specified threading-architecture]] (where and when to use threads), providing an overview and documentation of the threads used in OOo. Further improvement is planned to be implemented in [[Effort/Implement Advanced Threading-Architecture|another]] effort, eventually leading to an [[Architecture/Proposal/Advanced Threading-Architecture|advanced threading-architecture]].
  
==Cleaning up OOo Multi Threading==
+
==Problem==
 +
More or less frequently people complain about OOo with respect to multi-threading. Either because it is complicated to implement a service, or that there is only few documentation, or that the [[Uno]] [http://api.openoffice.org API] is not thread safe, or that it does not scale etc.
  
More or less frequently people complain about OOo in respect to multi threading. Either because it is complicated to implement a service, or that there is only few documentation, or that the UNO API is not thread safe, or that it does not scale etc.
+
==Approach==
 +
Analyse the current state. Find and propose a solution, ideally based on [[Uno]], and implement it.
  
The OOo Threading Effort attempts to clean-up OOos threading model (how to use threads) and to implement a [[Spec/Architecture/Threading/Basic | Basic Threading]] architecture (where and when to use threads), providing an overview and documentation of the threads used in OOo. Further progress is planned to be implemented in  [[Effort/Implementing Advanced Threading | another]] effort, eventually leading to an [[Spec/Architecture/Threading/Advanced | Advanced Threading]] architecture.
+
==Time Frame==
 +
Unfortunately, this effort is currently suspended due to other topics. It hopefully gets resumed after finishing [[Efforts/Packaging|Packaging]].
  
The below tasks list gives a high level overview, of what needs to be done. Links to dedicated pages addressing the topics are going to be added while the project proceeds.
+
==Tasks==
 
+
The below list of efforts and tasks shows what needs to be done.
{| style="vertical-align:top; text-align:left; background-color:#F0F0F0;"
+
{|border="1" cellspacing="0" class="wikitable"
|+ style="font-weight:bold; color:#FFFFFF; background-color:#00315A;" | Tasks
+
|- style="background:#efefef;"  
|- style="background-color:#99CCFF; font-weight:bold;"
+
! Title !! State
| State || Changed || Title || Link
+
 
|-
 
|-
| 1.2 || 12/08/2005 || Collect Status of OOo Threading || [[Analysis/Multi Threading]]
+
| [[Analysis/Multi-Threading|Analyse OOo Multi-Threading]] || style="background:lightgreen;" | finished
 
|-
 
|-
| 0.2 || 12/08/2005 || Goals for OOo Threading Model/Architecture || [[Architecture/Threading]]
+
| [[Architecture/Goals for OOo Threading-Model&-Architecture]] || style="background:lightgreen;" | finished
 
|-
 
|-
| 0.1 || 12/08/2005 || Define OOo Threading Model || http://udk.openoffice.org/projects/threading/OOo_multi_threading__model.xhtml
+
| Define [[Spec/Threading-Model|OOo threading-model]] || style="background:lightgreen;" | finished
 
|-
 
|-
| in progress || 02/14/2006 || Implement OOo Threading Model || http://udk.openoffice.org/projects/uno_threading_framework/overview.html
+
| Define [[Spec/Threading-Architecture|OOo threading-architecture]] || style="background:lightyellow;" |draft
 
|-
 
|-
| in progress || 12/08/2005 || Define OOo Threading Architecture || http://udk.openoffice.org/projects/OOo_Threading_Architecture/index.html
+
| Specify extended [[Uno/Spec/Threading-Model|Uno Threading-Model]] || style="background:lightgreen;" | finished
 
|-
 
|-
| open || 12/08/2005 || Implement OOo Threading Architecture || http://udk.openoffice.org/projects/OOo_Threading_Architecture/index.html
+
| [[Uno/Effort/Binary/Extend Threading-Model|Extend Binary Uno Threading-Model]] || style="background:lightgreen;" | finished ({{Uno/CWS|SRC680|bunoexttm}})
 
|-
 
|-
| open || 12/08/2005 || Summarize
+
| Specify [[Uno/Binary/Spec/Threading-Architecture|Binary Uno Threading-Architecture]] || style="background:lightyellow;" | draft
 +
|-
 +
| [[Uno/Effort/Binary/Adapt Threading-Architecture|Adapt Binary Uno Threading-Architecture]] || style="background:red;" | stalled
 +
|-
 +
| [[Effort/Make VCL Thread-Transparent|Make VCL Thread-Transparent]] || style="background:red;" | stalled ({{Uno/CWS|SRC680|utf2}})
 +
|-
 +
| [[Effort/Implement Basic Threading-Architecture|Implement OOo threading-architecture]] || style="background:red;" | stalled ({{Uno/CWS|SRC680|utf2}})
 +
|-
 +
| [[Effort/Clean Up Anachronistic Threading Constructs]] || style="background:lightblue;" |open
 
|}
 
|}
  
Current understanding of the topic lets us think, that the changes of OOo on behalf of the threading effort are going to be integrated early into the next major version (OOo 3), probably early in 2006.
+
 
 +
[[Category:Effort]]
 +
[[Category:Multi-Threading]]

Latest revision as of 13:46, 7 January 2009

Type: Effort Status: suspended Owner: Kay Ramme

The OOo Threading Effort attempts to clean-up OOos threading-model (how to use threads) and to implement a specified threading-architecture (where and when to use threads), providing an overview and documentation of the threads used in OOo. Further improvement is planned to be implemented in another effort, eventually leading to an advanced threading-architecture.

Problem

More or less frequently people complain about OOo with respect to multi-threading. Either because it is complicated to implement a service, or that there is only few documentation, or that the Uno API is not thread safe, or that it does not scale etc.

Approach

Analyse the current state. Find and propose a solution, ideally based on Uno, and implement it.

Time Frame

Unfortunately, this effort is currently suspended due to other topics. It hopefully gets resumed after finishing Packaging.

Tasks

The below list of efforts and tasks shows what needs to be done.

Title State
Analyse OOo Multi-Threading finished
Architecture/Goals for OOo Threading-Model&-Architecture finished
Define OOo threading-model finished
Define OOo threading-architecture draft
Specify extended Uno Threading-Model finished
Extend Binary Uno Threading-Model finished (bunoexttm)
Specify Binary Uno Threading-Architecture draft
Adapt Binary Uno Threading-Architecture stalled
Make VCL Thread-Transparent stalled (utf2)
Implement OOo threading-architecture stalled (utf2)
Effort/Clean Up Anachronistic Threading Constructs open
Personal tools