Difference between revisions of "Uno/Spec/Threading-Model"
From Apache OpenOffice Wiki
m |
m (Added category: Multi-Threading .) |
||
(25 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | Type: Specification State: draft Claim: optional | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | ==Feature== | ||
+ | The [[../Runtime|Runtime]] provides dedicated support for implementing and handling | ||
+ | * [[Uno/Term/Thread Safe|thread-safe]], | ||
+ | * [[Uno/Term/Thread Unsafe|thread-unsafe]], and | ||
+ | * [[Uno/Term/Thread Affine|thread-affine]] | ||
+ | objects. The threading type of any code can be specified appropriately. | ||
− | == | + | ==Rationale== |
+ | The [[Analysis/Multi-Threading| analysis of multi-threading]] shows OOo deficiencies wrt to multi-threading and [[Uno/Term/Thread Safe|thread-safeness]]. The [[Architecture/Goals for OOo Threading-Model&-Architecture|goals for the OOo Threading-Model & -Architecture]] identify three thread related types of code, which ([[Uno/Term/Thread Unsafe|thread-unsafe]], [[Uno/Term/Thread Safe|thread-safe]] and [[Uno/Term/Thread Affine|thread-affine]]). | ||
− | + | ==API== | |
− | : | + | Two thread related purposes: |
+ | * <code>":unsafe"</code> - for [[Uno/Term/Thread Unsafe|thread-unsafe]] code. | ||
+ | * <code>":affine"</code> - for [[Uno/Term/Thread Affine|thread-affine]] code. | ||
− | + | ==Dependencies== | |
− | + | * [[Uno/Spec/Thread Affinity Bridge]] | |
− | + | * [[Uno/Spec/Thread Unsafety Bridge]] | |
− | + | * [[Uno/Spec/Purpose Environment]] | |
+ | * [[Uno/Spec/Environment Stack]] | ||
+ | * [[Uno/Spec/Cascaded Mapping]] | ||
+ | * [[Uno/Spec/Environment Substitution]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | [[Category:Draft]] | ||
+ | [[Category:Spec]] | ||
+ | [[Category:Uno]] | ||
[[Category:Uno:Spec]] | [[Category:Uno:Spec]] | ||
+ | [[Category:Multi-Threading]] |
Latest revision as of 07:08, 19 June 2007
Type: Specification State: draft Claim: optional
Contents
Feature
The Runtime provides dedicated support for implementing and handling
objects. The threading type of any code can be specified appropriately.
Rationale
The analysis of multi-threading shows OOo deficiencies wrt to multi-threading and thread-safeness. The goals for the OOo Threading-Model & -Architecture identify three thread related types of code, which (thread-unsafe, thread-safe and thread-affine).
API
Two thread related purposes:
-
":unsafe"
- for thread-unsafe code. -
":affine"
- for thread-affine code.