Difference between revisions of "Uno/Effort/Binary/Extend Threading-Model"

From Apache OpenOffice Wiki
< Uno
Jump to: navigation, search
m
(Some rearrangements.)
Line 17: Line 17:
 
The following specifications and features give an overview over the UNO Threading Framework. The specifications roughly depend on each other in the order listed. For example, the Threading Models specification depends on the Implementation Environments, all pieces basically creating a stack.
 
The following specifications and features give an overview over the UNO Threading Framework. The specifications roughly depend on each other in the order listed. For example, the Threading Models specification depends on the Implementation Environments, all pieces basically creating a stack.
  
{| style="vertical-align:top; text-align:left; background-color:#F0F0F0;"
+
Tasks:
|+ style="font-weight:bold; color:#FFFFFF; background-color:#00315A;" | Meta Specifications
+
 
|- style="background-color:#99CCFF; font-weight:bold;"
+
 
 +
{|  
 +
|+ Efforts
 +
|-  
 
| Title || Version || Changed || Type
 
| Title || Version || Changed || Type
 
|-
 
|-
| [[Uno/Spec/Threading Model]] || 0.1 || 12/09/2005 || Spec
+
| [[Uno/Effort/Spec/Threading Model|Specify]] the Uno Threading Model || 90%
 
|-
 
|-
| [[Uno/Spec/Implementation Environment]] || 0.0 || 12/09/2005 || Spec
+
| [[Uno/Effort/Binary/Threading Model|Implement it]] for Binary UNO. || 90%
 
|-
 
|-
| [[Uno/Spec/Thread Affinity Bridge]] || 0.0 || 12/09/2005 || Spec
+
| [[Uno/Effort/Cpp/Threading Model|Implement it]] for C++ UNO. || 75%
 
|-
 
|-
| [[Uno/Spec/Thread Unsafety Bridge]] || 0.0 || 12/09/2005 || Spec
+
| [[Uno/Effort/Java/Threading Model|Implement it]] for Java UNO. || 0%
 
|-
 
|-
| [http://udk.openoffice.org/projects/uno_threading_framework/uno_env_stack.spec.txt Environment Stacks] || 0.1 || 01/20/2006 || Spec
+
| [[Uno/Effort/CLI/Threading Model|Implement it]] for CLI UNO. || 0%
 
|-
 
|-
| [[Uno/Spec/Cascaded Mapping]] || 0.0 || 12/09/2005 || Spec
+
| [[Uno/Effort/Remote/Threading Model|Implement it]] for Remote UNO. || 0%
|-
+
| [[Uno/Spec/Purpose Environment]] || 0.0 || 12/09/2005 || Spec
+
|-
+
| [[Uno/Spec/Environment Substitution]] || 0.0 || 12/09/2005 || Spec
+
|-
+
| [[Uno/Spec/Identity Mapping]] || 0.0 || 12/09/2005 || Spec
+
|-
+
| Misc. Improvements || 0.0 || 12/09/2005 || Spec
+
 
|}
 
|}
  

Revision as of 16:21, 19 April 2006

Creating the UNO Threading Framework

[1], [2]

Status: in progress

The goal of the UNO threading framrwork is, to provide a way to design an applications threading architecture independent of the implementation. This can be described as Transparent Concurrency, in respect to the implementations.

The UNO Threading Framework basically is going to introduce the notion of an apartment into the UNO world. An apartment in UNO terms is a purpose environment. Such an environment can be seen as a dedicated part of a process, giving space for objects of the same ABI and the same purpose. An environment can only be entered and left via defined doors, being proxy objects representing objects outside respectively inside the apartment.

UNO Envs.jpg

All calls from one environment to another are intercepted, references to local objects get replaced with proxies to these local objects, this operation is called "mapping" in UNO terms. An object gets "mapped" from one environment to another. Proxies already representing to be mapped objects of another environment become reused during the "mapping" operation, ensuring that an object can only be "mapped" once.

Purpose environments may be dedicated to MutExes or threads. In the sense, that a MutEx becomes acquired or a thread gets switched before a call enters an environment.

The following specifications and features give an overview over the UNO Threading Framework. The specifications roughly depend on each other in the order listed. For example, the Threading Models specification depends on the Implementation Environments, all pieces basically creating a stack.

Tasks:


Efforts
Title Version Changed Type
Specify the Uno Threading Model 90%
Implement it for Binary UNO. 90%
Implement it for C++ UNO. 75%
Implement it for Java UNO. 0%
Implement it for CLI UNO. 0%
Implement it for Remote UNO. 0%
Features for Binary UNO
Title Spec  % Changed Impl  % Changed Test  % Changed
Threading Models draft 80% 01/10/2006 UTF2 100% 03/06/2006 open 0% 12/14/2005
Implementation Environment final 100% 03/06/2006 UTF2 100% 01/24/2006
Thread Unsafety Bridge draft 80% 01/17/2006 UTF2 100% 02/13/2006 UTF2 80% 01/27/2006
Thread Affinity Bridge draft 80% 01/17/2006 UTF2 100% 01/17/2006 UTF2 80% 01/27/2006
Stacked Environments draft 80% 01/17/2006 UTF2 100% 02/27/2006 UTF2 100% 01/27/2006
Cascaded Mappings final 100% 12/22/2005 UTF2 100% 02/01/2006 UTF2 100% 01/30/2006
Purpose Environments draft 100% 12/21/2005 UTF2 100% 12/21/2005 UTF2 100% 02/01/2006
Environment Substitution draft 80% 02/01/2006 UTF2 100% 02/01/2006 UTF2 100% 02/01/2006
Identity Mapping final 100% 12/20/2005 UTF2 100% 12/16/2005 open 0% 12/14/2005
New Binary UNO Tools
Title Spec  % Changed Impl  % Changed Test  % Changed
Debug Environment draft 80% 01/23/2006 UTF2 100% 01/23/2006 UTF2 100% 01/23/2006
New Binary UNO Testers
Title Spec  % Changed Impl  % Changed Test  % Changed
Environment Stack Tester draft 80% 01/27/2006 UTF2 100% 02/01/2006
Mapping Tester draft 80% 12/22/2005 UTF2 100% 01/30/2006
Environment Tester draft 80% 12/22/2005 UTF2 100% 02/17/2006
Features for the Binary UNO Component Loader
Title Spec  % Changed Impl  % Changed Test  % Changed
Implementation Env. draft 80% 02/09/2006 UTF2 100% 02/09/2006 UTF2 100% 02/09/2006
Stacked Environments draft 80% 02/08/2006 UTF2 100% 02/09/2006 UTF2 100% 02/09/2006
Implementation Specific Environments final 100% 12/20/2005 UTF2 100% 02/08/2006 UTF2 100% 02/09/2006
Adapt to Misc. Improvements UTF2 100% 02/08/2006
Adapt to Identity Mapping UTF2 100% 02/07/2006
Remove Deprecated Stuff UTF2 100% 02/07/2006
Features for C++ UNO
Title Spec  % Changed Impl  % Changed Test  % Changed
Shield helpers draft 80% 02/28/2006 UTF2 100% 02/28/2006 UTF2 100% 02/28/2006
Environment Aware Reference draft 80% 01/10/2006 UTF2 100% 02/23/2006 UTF2 100% 02/03/2006
Environment Guards draft 80% 01/10/2006 UTF2 100% 01/11/2006 open 0% 01/10/2006
Implementation Environment draft 80% 02/14/2006 UTF2 100% 02/28/2006 UTF2 100% 02/17/2006
Stacked Environments draft 80% 02/10/2006 UTF2 100% 02/10/2006 UTF2 100% 02/10/2006
Misc. Improvements draft 80% 12/14/2005 UTF2 100% 12/16/2005 open 0% 12/14/2005
Test Helper: Object Factory draft 80% 01/30/2006 UTF2 100% 01/31/2006
Bridge: Purpose Env. Support UTF2 100% 01/30/2006 UTF2 100% 01/30/2006
Helper: Purpose Environment Implementation draft 80% 01/23/2006 UTF2 100% 02/14/2006 UTF2 100% 01/30/2006
Features for Java UNO
Title Spec  % Changed Impl  % Changed Test  % Changed
JNI Bridge: Purpose Env. Support
URP Bridge: Purpose Env. Support
Features for CLI UNO
Title Spec  % Changed Impl  % Changed Test  % Changed
Features for remote UNO
Title Spec  % Changed Impl  % Changed Test  % Changed
Purpose Env. Support

Current understanding of the topic lets us think, that the changes of OOo / UNO on behalf of the Threading Framework are going to be integrated into one of the next updates, probably early in 2006.

Personal tools